aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-08-19 07:05:05 +0000
committerBlaž Hrastnik2021-08-19 07:05:05 +0000
commit0595b0626ab45339fc77ac3d8850d786d821989b (patch)
tree443082eaeac85ec774b85ac619e9b77a988055b7
parentab4e765ff32299a9e85ff83e30364e777c71eab3 (diff)
Fix clippy attr
-rw-r--r--helix-term/src/ui/editor.rs2
1 files changed, 1 insertions, 1 deletions
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()