aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src
diff options
context:
space:
mode:
authorBlaž Hrastnik2022-11-19 06:41:55 +0000
committerBlaž Hrastnik2022-11-19 06:41:55 +0000
commit7e99087fa36fd49b350311ebdbc3b9338794746b (patch)
tree31e890c3835f8c373a396c9ba03c9e837bb953f5 /helix-term/src
parenta640ab6b1f8aa3d968712acdd085feb48d81feb7 (diff)
minor: render_diagnostics doesn't require &self either
Diffstat (limited to 'helix-term/src')
-rw-r--r--helix-term/src/ui/editor.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs
index 1989e0f8..6c8ee2d9 100644
--- a/helix-term/src/ui/editor.rs
+++ b/helix-term/src/ui/editor.rs
@@ -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
.area
@@ -765,7 +765,6 @@ impl EditorView {
}
pub fn render_diagnostics(
- &self,
doc: &Document,
view: &View,
viewport: Rect,