Unused imports

This commit is contained in:
Nate Butler 2023-11-28 15:17:09 -05:00
parent 525fe70de6
commit b24a3b8fcb
2 changed files with 2 additions and 2 deletions

View file

@ -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};

View file

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