aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaž Hrastnik2022-01-26 02:46:14 +0000
committerBlaž Hrastnik2022-01-30 13:38:44 +0000
commit5aead46f4b4ce876701eb5aa2c2a44e286088977 (patch)
tree3d5ff51a9e18aa9b62218e754af3ad2dae05a10f
parent2a7ae963e11dc2bb751e7b0933be157900f1adeb (diff)
Remove some unnecessary clippy tags
-rw-r--r--helix-term/src/ui/editor.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs
index 89fa3c6e..cfc32f4f 100644
--- a/helix-term/src/ui/editor.rs
+++ b/helix-term/src/ui/editor.rs
@@ -118,7 +118,6 @@ impl EditorView {
/// Get syntax highlights for a document in a view represented by the first line
/// and column (`offset`) and the last line. This is done instead of using a view
/// directly to enable rendering syntax highlighted docs anywhere (eg. picker preview)
- #[allow(clippy::too_many_arguments)]
pub fn doc_syntax_highlights<'doc>(
doc: &'doc Document,
offset: Position,
@@ -404,7 +403,6 @@ impl EditorView {
}
}
- #[allow(clippy::too_many_arguments)]
pub fn render_gutter(
doc: &Document,
view: &View,
@@ -509,7 +507,6 @@ impl EditorView {
);
}
- #[allow(clippy::too_many_arguments)]
pub fn render_statusline(
&self,
doc: &Document,