diff --git a/crates/language_tools2/src/lsp_log.rs b/crates/language_tools2/src/lsp_log.rs index a2bcc6e134..1be0d2780a 100644 --- a/crates/language_tools2/src/lsp_log.rs +++ b/crates/language_tools2/src/lsp_log.rs @@ -596,8 +596,7 @@ fn log_contents(lines: &VecDeque) -> String { impl Render for LspLogView { fn render(&mut self, cx: &mut ViewContext) -> impl Element { - self - .editor + self.editor .update(cx, |editor, cx| editor.render(cx).into_any()) } }