Skip to content

Commit 166307e

Browse files
committed
Fix grievous typo
1 parent 44e7a1d commit 166307e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

regex-syntax/src/hir/interval.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ impl<I: Interval> IntervalSet<I> {
331331
// negation, so it's skipped, and its upper bound is used as the first
332332
// leftward margin.
333333
let (margin, skip_first) = match first_range.lower() == I::Bound::MIN {
334-
false => (I::Bound::MAX, false),
334+
false => (I::Bound::MIN, false),
335335
true => match first_range.upper().try_increment() {
336336
Some(bound) => (bound, true),
337337
// The current range covers everything, so its negation is the empty set

0 commit comments

Comments
 (0)