mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 20:01:33 +00:00
Remove unnecessary imports
This commit is contained in:
parent
aeafa6f6d6
commit
e57364ede6
2 changed files with 4 additions and 6 deletions
|
@ -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) {
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue