Take &mut self in View::render
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
co-authored by
Nathan Sobo
parent
917a80ec36
commit
ef89ceae4d
@@ -13,7 +13,7 @@ impl View for ProjectBrowser {
|
||||
"ProjectBrowser"
|
||||
}
|
||||
|
||||
fn render(&self, _: &mut gpui::RenderContext<'_, Self>) -> gpui::ElementBox {
|
||||
fn render(&mut self, _: &mut gpui::RenderContext<'_, Self>) -> gpui::ElementBox {
|
||||
Empty::new().boxed()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user