Skip to content

Commit

Permalink
refactor(clippy): unused_variables
Browse files Browse the repository at this point in the history
Signed-off-by: Hunar Roop Kahlon <[email protected]>
  • Loading branch information
kinggoesgaming committed Feb 20, 2024
1 parent 2379a49 commit fbdf0d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ impl Buffer {
}

pub fn _delete_to_next_word(&mut self, (x, y): (usize, usize)) {
let (fx, fy) = self.find_word_end((x, y)).unwrap();
let (_fx, _fy) = self.find_word_end((x, y)).unwrap();
let line = self.get(y).unwrap();
let rest = line[x..].to_string();
self.lines[y] = line[..x].to_string();
Expand Down

0 comments on commit fbdf0d2

Please sign in to comment.