Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ethteck committed Mar 17, 2024
1 parent a8f180e commit 595173f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diff_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ impl DiffState {
None
}

pub fn recalculate(&mut self, hex_views: &Vec<HexView>) {
pub fn recalculate(&mut self, hex_views: &[HexView]) {
if !self.enabled {
self.out_of_date = true;
return;
Expand Down

0 comments on commit 595173f

Please sign in to comment.