on master help sign in
Fix clippy attr
0595b06Blaž Hrastnik
helix-term/src/ui/editor.rs+1−1
@@ -431,7 +431,7 @@ impl EditorView {
431
431
432 // it's used inside an iterator so the collect isn't needless:
432 // it's used inside an iterator so the collect isn't needless:
433 // https://github.com/rust-lang/rust-clippy/issues/6164
433 // https://github.com/rust-lang/rust-clippy/issues/6164
434− #[allow(clippy::clippy::needless_collect)]
434+ #[allow(clippy::needless_collect)]
435 let cursors: Vec<_> = doc
435 let cursors: Vec<_> = doc
436 .selection(view.id)
436 .selection(view.id)
437 .iter()
437 .iter()