Skip to content

Commit

Permalink
Removes unnecessary mut from the calc_skipped_rows fn
Browse files Browse the repository at this point in the history
  • Loading branch information
ElSamhaa committed Apr 8, 2024
1 parent 95621af commit 00bd54a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/directory_buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 23,7 @@ impl ScrollState {
}

pub fn calc_skipped_rows(
&mut self,
&self,
height: usize,
total: usize,
vimlike_scrolling: bool,
Expand Down

0 comments on commit 00bd54a

Please sign in to comment.