From c4accde56276df7b1dc017ec2ca214a91842aad5 Mon Sep 17 00:00:00 2001 From: cameron Date: Wed, 5 Nov 2025 12:01:40 +0000 Subject: [PATCH] small style tweak --- crates/collab_ui/src/collab_panel.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/collab_ui/src/collab_panel.rs b/crates/collab_ui/src/collab_panel.rs index 378d97727ddf0f18c0d8a86bbcf5c9cd4976f236..7b1df0b0db7eb69511be96ff8bf39135b2a92336 100644 --- a/crates/collab_ui/src/collab_panel.rs +++ b/crates/collab_ui/src/collab_panel.rs @@ -645,7 +645,7 @@ impl CollabPanel { executor.clone(), )); - let channel_ids_of_matches_or_parents = matches + let channel_ids_of_matches_or_parents: HashSet<_> = matches .iter() .flat_map(|mat| { let match_channel = channels[mat.candidate_id]; @@ -656,7 +656,7 @@ impl CollabPanel { .copied() .chain(Some(match_channel.id)) }) - .collect::>(); + .collect(); channels.retain(|chan| channel_ids_of_matches_or_parents.contains(&chan.id));