diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 6d63ab70eae0..6b75c2617c5e 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -1205,7 +1205,6 @@ fn goto_file_impl(cx: &mut Context, action: Action) { let prefix_len = text .chars_at(start_pos) - .clone() .reversed() .take_while(is_valid_path_char) .count();