Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Moritz Borcherding committed Nov 25, 2024
1 parent 40fae3e commit e8c1c32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/encoding/match_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ impl<'data> MatchGenerator<'data> {
self.last_idx_in_sequence = self.suffix_idx;
} else {
let last_entry = self.window.last_mut().unwrap();
let key = &last_entry.data[self.suffix_idx..self.suffix_idx+MIN_MATCH_LEN];
let key = &last_entry.data[self.suffix_idx..self.suffix_idx + MIN_MATCH_LEN];
if !last_entry.suffixes.contains_key(&key) {
last_entry.suffixes.insert(key, self.suffix_idx);
}
Expand Down

0 comments on commit e8c1c32

Please sign in to comment.