diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs index 0640f1831..f08fd11c3 100644 --- a/helix-term/src/ui/editor.rs +++ b/helix-term/src/ui/editor.rs @@ -1640,7 +1640,7 @@ fn get_ids_of_duplicate_paths( } fn adjust_paths_levels(levels: &mut HashMap) { - while let Some(duplicates) = get_ids_of_duplicate_paths(&levels) { + while let Some(duplicates) = get_ids_of_duplicate_paths(levels) { for id in duplicates { if let Some(level) = levels.get_mut(&id) { level.increment() @@ -1655,10 +1655,9 @@ fn build_bufferline_paths(editor: &Editor) -> HashMap