Remove warnigns
This commit is contained in:
parent
af7c93b8d5
commit
dd42adc4e5
14 changed files with 22 additions and 35 deletions
|
@ -1,4 +1,4 @@
|
|||
use gpui::{div, AnyElement, Div, Element, Entity, IntoElement, Render, Subscription, ViewContext};
|
||||
use gpui::{div, AnyElement, Element, IntoElement, Render, ViewContext};
|
||||
use settings::{Settings, SettingsStore};
|
||||
use workspace::{item::ItemHandle, ui::Label, StatusItemView};
|
||||
|
||||
|
@ -51,7 +51,7 @@ impl ModeIndicator {
|
|||
impl Render for ModeIndicator {
|
||||
type Element = AnyElement;
|
||||
|
||||
fn render(&mut self, cx: &mut ViewContext<Self>) -> AnyElement {
|
||||
fn render(&mut self, _: &mut ViewContext<Self>) -> AnyElement {
|
||||
let Some(mode) = self.mode.as_ref() else {
|
||||
return div().into_any();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue