mirror of
https://github.com/zed-industries/zed.git
synced 2024-10-26 08:31:04 +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 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 picker::{Picker, PickerDelegate, PickerEvent};
|
||||||
use project::Project;
|
use std::sync::Arc;
|
||||||
use std::{cmp::Ordering, sync::Arc};
|
use util::ResultExt;
|
||||||
use util::{ResultExt, TryFutureExt};
|
|
||||||
use workspace::{Toast, Workspace};
|
use workspace::{Toast, Workspace};
|
||||||
|
|
||||||
pub fn init(cx: &mut AppContext) {
|
pub fn init(cx: &mut AppContext) {
|
||||||
|
|
|
@ -15,7 +15,6 @@ use gpui::{
|
||||||
actions,
|
actions,
|
||||||
color::Color,
|
color::Color,
|
||||||
elements::*,
|
elements::*,
|
||||||
fonts::TextStyle,
|
|
||||||
geometry::{rect::RectF, vector::vec2f, PathBuilder},
|
geometry::{rect::RectF, vector::vec2f, PathBuilder},
|
||||||
json::{self, ToJson},
|
json::{self, ToJson},
|
||||||
platform::{CursorStyle, MouseButton},
|
platform::{CursorStyle, MouseButton},
|
||||||
|
@ -241,7 +240,7 @@ impl CollabTitlebarItem {
|
||||||
ret = ret.with_child(
|
ret = ret.with_child(
|
||||||
Stack::new()
|
Stack::new()
|
||||||
.with_child(
|
.with_child(
|
||||||
MouseEventHandler::<ToggleVcsMenu, Self>::new(0, cx, |state, _| {
|
MouseEventHandler::<ToggleVcsMenu, Self>::new(0, cx, |_, _| {
|
||||||
Label::new(git_branch, style)
|
Label::new(git_branch, style)
|
||||||
.contained()
|
.contained()
|
||||||
.with_margin_right(item_spacing)
|
.with_margin_right(item_spacing)
|
||||||
|
|
Loading…
Reference in a new issue