Restore --all-targets for clippy (#9346)

This PR restores the `--all-targets` flag when running `cargo clippy`.

Without it, there are areas that Clippy does not check, as evidenced by
the violations that were caught once the flag was re-added.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-03-14 12:39:45 -04:00 committed by GitHub
parent 5f02ef701d
commit 3610b076a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 3 deletions

View file

@ -447,7 +447,7 @@ mod tests {
workspace: &View<Workspace>,
cx: &mut VisualTestContext,
) -> View<Picker<OutlineViewDelegate>> {
cx.dispatch_action(Toggle::default());
cx.dispatch_action(Toggle);
workspace.update(cx, |workspace, cx| {
workspace
.active_modal::<OutlineView>(cx)