mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-05 18:25:57 +00:00
Unused imports
This commit is contained in:
parent
525fe70de6
commit
b24a3b8fcb
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
use collections::{CommandPaletteFilter, HashMap};
|
use collections::{CommandPaletteFilter, HashMap};
|
||||||
use fuzzy::{StringMatch, StringMatchCandidate};
|
use fuzzy::{StringMatch, StringMatchCandidate};
|
||||||
use gpui::{
|
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,
|
Keystroke, ParentElement, Render, Styled, View, ViewContext, VisualContext, WeakView,
|
||||||
};
|
};
|
||||||
use picker::{Picker, PickerDelegate};
|
use picker::{Picker, PickerDelegate};
|
||||||
|
|
|
@ -115,7 +115,7 @@ pub struct KeyIcon {
|
||||||
impl RenderOnce for KeyIcon {
|
impl RenderOnce for KeyIcon {
|
||||||
type Rendered = Div;
|
type Rendered = Div;
|
||||||
|
|
||||||
fn render(self, cx: &mut WindowContext) -> Self::Rendered {
|
fn render(self, _cx: &mut WindowContext) -> Self::Rendered {
|
||||||
div()
|
div()
|
||||||
.w(rems(14. / 16.))
|
.w(rems(14. / 16.))
|
||||||
.child(IconElement::new(self.icon).size(IconSize::Small))
|
.child(IconElement::new(self.icon).size(IconSize::Small))
|
||||||
|
|
Loading…
Reference in a new issue