diff --git a/crates/collab_ui/src/collab_panel.rs b/crates/collab_ui/src/collab_panel.rs index d131e9feae84d8c033f38c7bfbfe66e289aef03f..1018cb97d7c138887de9017036a7ebec82acbadd 100644 --- a/crates/collab_ui/src/collab_panel.rs +++ b/crates/collab_ui/src/collab_panel.rs @@ -1629,7 +1629,7 @@ impl CollabPanel { self.toggle_channel_collapsed(id, cx) } - fn toggle_channel_collapsed<'a>(&mut self, channel_id: ChannelId, cx: &mut ViewContext) { + fn toggle_channel_collapsed(&mut self, channel_id: ChannelId, cx: &mut ViewContext) { match self.collapsed_channels.binary_search(&channel_id) { Ok(ix) => { self.collapsed_channels.remove(ix); diff --git a/crates/gpui/src/app/test_context.rs b/crates/gpui/src/app/test_context.rs index 20383047e78ac395b69131ff83f3f2728df7bc29..6ceff76c381dc7e73d0347a9ea335e6cdd2de1f8 100644 --- a/crates/gpui/src/app/test_context.rs +++ b/crates/gpui/src/app/test_context.rs @@ -575,7 +575,7 @@ pub struct VisualTestContext { window: AnyWindowHandle, } -impl<'a> VisualTestContext { +impl VisualTestContext { /// Get the underlying window handle underlying this context. pub fn handle(&self) -> AnyWindowHandle { self.window diff --git a/crates/project_core/src/worktree.rs b/crates/project_core/src/worktree.rs index a7b8e23b3c49f7f52986c223a61152be29300233..e5d50557f9cf2921932cdfb742f9eb5d5b71731e 100644 --- a/crates/project_core/src/worktree.rs +++ b/crates/project_core/src/worktree.rs @@ -220,7 +220,7 @@ impl Deref for WorkDirectoryEntry { } } -impl<'a> From for WorkDirectoryEntry { +impl From for WorkDirectoryEntry { fn from(value: ProjectEntryId) -> Self { WorkDirectoryEntry(value) } diff --git a/tooling/xtask/src/main.rs b/tooling/xtask/src/main.rs index 684091b46090b2ba8b19ab418f70be46365f23bf..d97ea6ebbdeee10c59ae1cd6ca1386859cd43f67 100644 --- a/tooling/xtask/src/main.rs +++ b/tooling/xtask/src/main.rs @@ -92,7 +92,6 @@ fn run_clippy(args: ClippyArgs) -> Result<()> { "clippy::eq_op", "clippy::expect_fun_call", "clippy::explicit_counter_loop", - "clippy::extra_unused_lifetimes", "clippy::identity_op", "clippy::implied_bounds_in_impls", "clippy::iter_kv_map",