Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Remove unnecessary imports
Piotr Osiewicze57364ede6d4
diff --git a/crates/collab_ui/src/branch_list.rs b/crates/collab_ui/src/branch_list.rsindex 2558b24ae8b..2fb8721c946 100644--- a/crates/collab_ui/src/branch_list.rs+++ b/crates/collab_ui/src/branch_list.rs@@ -1,9 +1,8 @@use fuzzy::{StringMatch, StringMatchCandidate};-use gpui::{elements::*, AppContext, ModelHandle, MouseState, Task, ViewContext, ViewHandle};+use gpui::{elements::*, AppContext, MouseState, Task, ViewContext, ViewHandle};use picker::{Picker, PickerDelegate, PickerEvent};-use project::Project;-use std::{cmp::Ordering, sync::Arc};-use util::{ResultExt, TryFutureExt};+use std::sync::Arc;+use util::ResultExt;use workspace::{Toast, Workspace};pub fn init(cx: &mut AppContext) {diff --git a/crates/collab_ui/src/collab_titlebar_item.rs b/crates/collab_ui/src/collab_titlebar_item.rsindex 48a4e12ff53..e6a0c98265d 100644--- a/crates/collab_ui/src/collab_titlebar_item.rs+++ b/crates/collab_ui/src/collab_titlebar_item.rs@@ -15,7 +15,6 @@ use gpui::{actions,color::Color,elements::*,- fonts::TextStyle,geometry::{rect::RectF, vector::vec2f, PathBuilder},json::{self, ToJson},platform::{CursorStyle, MouseButton},@@ -241,7 +240,7 @@ impl CollabTitlebarItem {ret = ret.with_child(Stack::new().with_child(- MouseEventHandler::<ToggleVcsMenu, Self>::new(0, cx, |state, _| {+ MouseEventHandler::<ToggleVcsMenu, Self>::new(0, cx, |_, _| {Label::new(git_branch, style).contained().with_margin_right(item_spacing)