Take &mut self in View::render
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
917a80ec36
commit
ef89ceae4d
11 changed files with 28 additions and 28 deletions
|
@ -944,7 +944,7 @@ impl View for Workspace {
|
|||
"Workspace"
|
||||
}
|
||||
|
||||
fn render(&self, cx: &mut RenderContext<Self>) -> ElementBox {
|
||||
fn render(&mut self, cx: &mut RenderContext<Self>) -> ElementBox {
|
||||
let settings = self.settings.borrow();
|
||||
Container::new(
|
||||
Flex::column()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue