Skip to content

Commit

Permalink
sstadick#21 fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bennobuilder committed Mar 19, 2024
1 parent c86adc9 commit ac47eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ where
/// Helper method to update starts, stops, and max_len based on the current state of intervals.
fn update_auxiliary_structures(&mut self) {
let (mut starts, mut stops): (Vec<_>, Vec<_>) =
self.intervals.iter().map(|x| (x.start, x.stop)).unzip();
self.intervals.iter().map(|iv| (iv.start, iv.stop)).unzip();
starts.sort();
stops.sort();
self.max_len = self
Expand Down

0 comments on commit ac47eb7

Please sign in to comment.