crates/language_tools2/src/lsp_log.rs 🔗
@@ -596,8 +596,7 @@ fn log_contents(lines: &VecDeque<String>) -> String {
impl Render for LspLogView {
fn render(&mut self, cx: &mut ViewContext<Self>) -> impl Element {
- self
- .editor
+ self.editor
.update(cx, |editor, cx| editor.render(cx).into_any())
}
}