Remove unnecessary imports

This commit is contained in:
Piotr Osiewicz 2023-06-29 11:42:20 +02:00
parent aeafa6f6d6
commit e57364ede6
2 changed files with 4 additions and 6 deletions

View File

@ -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) {

View File

@ -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)