Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Unused imports
Nate Butlerb24a3b8fcb50
diff --git a/crates/command_palette2/src/command_palette.rs b/crates/command_palette2/src/command_palette.rsindex 6a11f3f7ea0..076a2625a19 100644--- a/crates/command_palette2/src/command_palette.rs+++ b/crates/command_palette2/src/command_palette.rs@@ -1,7 +1,7 @@use collections::{CommandPaletteFilter, HashMap};use fuzzy::{StringMatch, StringMatchCandidate};use gpui::{- actions, rems, Action, AppContext, DismissEvent, Div, EventEmitter, FocusHandle, FocusableView,+ actions, Action, AppContext, DismissEvent, Div, EventEmitter, FocusHandle, FocusableView,Keystroke, ParentElement, Render, Styled, View, ViewContext, VisualContext, WeakView,};use picker::{Picker, PickerDelegate};diff --git a/crates/ui2/src/components/keybinding.rs b/crates/ui2/src/components/keybinding.rsindex 4bf98a9466d..993e2f323e7 100644--- a/crates/ui2/src/components/keybinding.rs+++ b/crates/ui2/src/components/keybinding.rs@@ -115,7 +115,7 @@ pub struct KeyIcon {impl RenderOnce for KeyIcon {type Rendered = Div;- fn render(self, cx: &mut WindowContext) -> Self::Rendered {+ fn render(self, _cx: &mut WindowContext) -> Self::Rendered {div().w(rems(14. / 16.)).child(IconElement::new(self.icon).size(IconSize::Small))