fixup! Work around lifetime woes by turning the element in language_tools2 into any element
This commit is contained in:
parent
fa0d507639
commit
6027962937
1 changed files with 1 additions and 2 deletions
|
@ -596,8 +596,7 @@ fn log_contents(lines: &VecDeque<String>) -> String {
|
||||||
|
|
||||||
impl Render for LspLogView {
|
impl Render for LspLogView {
|
||||||
fn render(&mut self, cx: &mut ViewContext<Self>) -> impl Element {
|
fn render(&mut self, cx: &mut ViewContext<Self>) -> impl Element {
|
||||||
self
|
self.editor
|
||||||
.editor
|
|
||||||
.update(cx, |editor, cx| editor.render(cx).into_any())
|
.update(cx, |editor, cx| editor.render(cx).into_any())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue