Take &mut self in View::render

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra
2021-08-30 17:51:26 +02:00
co-authored by Nathan Sobo
parent 917a80ec36
commit ef89ceae4d
11 changed files with 28 additions and 28 deletions
+1 -1
View File
@@ -510,7 +510,7 @@ mod tests {
"TestView"
}
fn render(&self, _: &mut RenderContext<'_, Self>) -> ElementBox {
fn render(&mut self, _: &mut RenderContext<'_, Self>) -> ElementBox {
unimplemented!()
}
}