chore(clippy): obey nightly clippy

This commit is contained in:
graelo 2022-11-07 10:45:06 +01:00
parent 0d0b0a817f
commit 6f2f7678eb
2 changed files with 3 additions and 3 deletions

View file

@ -117,7 +117,7 @@ impl<'a> ViewController<'a> {
let line_width = self.term_width as usize;
let new_pos_x = pos_x % line_width;
let new_pos_y = self.wrapped_lines[pos_y as usize].pos_y + pos_x / line_width;
let new_pos_y = self.wrapped_lines[pos_y].pos_y + pos_x / line_width;
(new_pos_x, new_pos_y)
}