From 5aead46f4b4ce876701eb5aa2c2a44e286088977 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Wed, 26 Jan 2022 11:46:14 +0900 Subject: [PATCH] Remove some unnecessary clippy tags --- helix-term/src/ui/editor.rs | 3 --- 1 file changed, 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,