We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44e7a1d commit 166307eCopy full SHA for 166307e
regex-syntax/src/hir/interval.rs
@@ -331,7 +331,7 @@ impl<I: Interval> IntervalSet<I> {
331
// negation, so it's skipped, and its upper bound is used as the first
332
// leftward margin.
333
let (margin, skip_first) = match first_range.lower() == I::Bound::MIN {
334
- false => (I::Bound::MAX, false),
+ false => (I::Bound::MIN, false),
335
true => match first_range.upper().try_increment() {
336
Some(bound) => (bound, true),
337
// The current range covers everything, so its negation is the empty set
0 commit comments