Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Remove unused imports

Mikayla55dbcf203992
diff --git a/crates/diagnostics2/src/items.rs b/crates/diagnostics2/src/items.rs
index 72d4fe2ba7c..dd1b7d98cf6 100644
--- a/crates/diagnostics2/src/items.rs
+++ b/crates/diagnostics2/src/items.rs
@@ -1,7 +1,7 @@
use collections::HashSet;
use editor::{Editor, GoToDiagnostic};
use gpui::{
- div, rems, Div, EventEmitter, InteractiveComponent, ParentComponent, Render, Stateful,
+ rems, Div, EventEmitter, InteractiveComponent, ParentComponent, Render, Stateful,
StatefulInteractiveComponent, Styled, Subscription, View, ViewContext, WeakView,
};
use language::Diagnostic;
diff --git a/crates/workspace2/src/pane.rs b/crates/workspace2/src/pane.rs
index cd8f0851923..d67422c32aa 100644
--- a/crates/workspace2/src/pane.rs
+++ b/crates/workspace2/src/pane.rs
@@ -24,7 +24,7 @@ use std::{
Arc,
},
};
-use theme2::default_color_scales;
+
use ui::v_stack;
use ui::{prelude::*, Icon, IconButton, IconElement, TextColor, Tooltip};
use util::truncate_and_remove_front;
diff --git a/crates/workspace2/src/workspace2.rs b/crates/workspace2/src/workspace2.rs
index 4f1c573d6c9..78499a9d227 100644
--- a/crates/workspace2/src/workspace2.rs
+++ b/crates/workspace2/src/workspace2.rs
@@ -63,7 +63,7 @@ use std::{
sync::{atomic::AtomicUsize, Arc},
time::Duration,
};
-use theme2::{default_color_scales, ActiveTheme, ThemeSettings};
+use theme2::{ActiveTheme, ThemeSettings};
pub use toolbar::{ToolbarItemEvent, ToolbarItemLocation, ToolbarItemView};
pub use ui;
use util::ResultExt;