on master help sign in
minor: render_diagnostics doesn't require &self either
commit7e99087fa36fd49b350311ebdbc3b9338794746b authorBlaž Hrastnik <blaz@mxxn.io> dateSat 19 Nov 2022, 15:41 (4 years ago) parenta640ab6
1 file changed+1−2
helix-term/src/ui/editor.rs+1−2
helix-term/src/ui/editor.rs+1−2
@@ -169,7 +169,7 @@ impl EditorView {
169169 }
170170 }
171171
172− self.render_diagnostics(doc, view, inner, surface, theme);
172+ Self::render_diagnostics(doc, view, inner, surface, theme);
173173
174174 let statusline_area = view
175175 .area
@@ -765,7 +765,6 @@ impl EditorView {
765765 }
766766
767767 pub fn render_diagnostics(
768− &self,
769768 doc: &Document,
770769 view: &View,
771770 viewport: Rect,