From 0595b0626ab45339fc77ac3d8850d786d821989b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Thu, 19 Aug 2021 16:05:05 +0900 Subject: [PATCH] Fix clippy attr --- helix-term/src/ui/editor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs index bbd99795..b0e6de3e 100644 --- a/helix-term/src/ui/editor.rs +++ b/helix-term/src/ui/editor.rs @@ -431,7 +431,7 @@ impl EditorView { // it's used inside an iterator so the collect isn't needless: // https://github.com/rust-lang/rust-clippy/issues/6164 - #[allow(clippy::clippy::needless_collect)] + #[allow(clippy::needless_collect)] let cursors: Vec<_> = doc .selection(view.id) .iter()