mirror of https://github.com/helix-editor/helix
Fix clippy attr
parent
ab4e765ff3
commit
0595b0626a
|
@ -431,7 +431,7 @@ impl EditorView {
|
||||||
|
|
||||||
// it's used inside an iterator so the collect isn't needless:
|
// it's used inside an iterator so the collect isn't needless:
|
||||||
// https://github.com/rust-lang/rust-clippy/issues/6164
|
// https://github.com/rust-lang/rust-clippy/issues/6164
|
||||||
#[allow(clippy::clippy::needless_collect)]
|
#[allow(clippy::needless_collect)]
|
||||||
let cursors: Vec<_> = doc
|
let cursors: Vec<_> = doc
|
||||||
.selection(view.id)
|
.selection(view.id)
|
||||||
.iter()
|
.iter()
|
||||||
|
|
Loading…
Reference in New Issue