Fix iterator related clippy style lint violations (#36437)
Release Notes: - N/A
This commit is contained in:
@@ -503,8 +503,7 @@ fn update_editor_selection(
|
||||
&[last_kept_hunk_end..editor::Anchor::max()],
|
||||
buffer_snapshot,
|
||||
)
|
||||
.skip(1)
|
||||
.next()
|
||||
.nth(1)
|
||||
})
|
||||
.or_else(|| {
|
||||
let first_kept_hunk = diff_hunks.first()?;
|
||||
|
||||
Reference in New Issue
Block a user