Fix iterator related clippy style lint violations (#36437)
Release Notes: - N/A
This commit is contained in:
@@ -221,7 +221,7 @@ pub(crate) fn register(editor: &mut Editor, cx: &mut Context<Vim>) {
|
||||
return;
|
||||
};
|
||||
|
||||
let anchors = last_change.iter().cloned().collect::<Vec<_>>();
|
||||
let anchors = last_change.to_vec();
|
||||
let mut last_row = None;
|
||||
let ranges: Vec<_> = anchors
|
||||
.iter()
|
||||
|
||||
Reference in New Issue
Block a user