Skip to content

Commit

Permalink
removing unecessary clone
Browse files Browse the repository at this point in the history
  • Loading branch information
TornaxO7 committed Feb 24, 2024
1 parent 7fbcbc0 commit b7bd427
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion helix-term/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit b7bd427

Please sign in to comment.