Remove lock from element states

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra
2021-08-27 18:04:21 +02:00
co-authored by Nathan Sobo
parent d5b7e2d4e3
commit 53dc08dfc5
14 changed files with 143 additions and 104 deletions
+1 -1
View File
@@ -1620,7 +1620,7 @@ mod tests {
"empty view"
}
fn render<'a>(&self, _: &gpui::RenderContext<Self>) -> gpui::ElementBox {
fn render(&self, _: &mut gpui::RenderContext<Self>) -> gpui::ElementBox {
gpui::Element::boxed(gpui::elements::Empty)
}
}