mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 17:36:19 +04:00
minor: render_diagnostics doesn't require &self either
This commit is contained in:
parent
a640ab6b1f
commit
7e99087fa3
@ -169,7 +169,7 @@ pub fn render_view(
|
||||
}
|
||||
}
|
||||
|
||||
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 @@ pub fn render_gutter(
|
||||
}
|
||||
|
||||
pub fn render_diagnostics(
|
||||
&self,
|
||||
doc: &Document,
|
||||
view: &View,
|
||||
viewport: Rect,
|
||||
|
Loading…
Reference in New Issue
Block a user