Remove warnigns

This commit is contained in:
Conrad Irwin 2023-12-11 10:43:09 -07:00
parent af7c93b8d5
commit dd42adc4e5
14 changed files with 22 additions and 35 deletions

View file

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