minor: render_diagnostics doesn't require &self either
This commit is contained in:
parent
a640ab6b1f
commit
7e99087fa3
1 changed files with 1 additions and 2 deletions
|
@ -169,7 +169,7 @@ impl EditorView {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
self.render_diagnostics(doc, view, inner, surface, theme);
|
Self::render_diagnostics(doc, view, inner, surface, theme);
|
||||||
|
|
||||||
let statusline_area = view
|
let statusline_area = view
|
||||||
.area
|
.area
|
||||||
|
@ -765,7 +765,6 @@ impl EditorView {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn render_diagnostics(
|
pub fn render_diagnostics(
|
||||||
&self,
|
|
||||||
doc: &Document,
|
doc: &Document,
|
||||||
view: &View,
|
view: &View,
|
||||||
viewport: Rect,
|
viewport: Rect,
|
||||||
|
|
Loading…
Add table
Reference in a new issue