diff options
Diffstat (limited to 'src/parse/regex/mod.rs')
| -rw-r--r-- | src/parse/regex/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/regex/mod.rs b/src/parse/regex/mod.rs index 6b7bc9e..fed792c 100644 --- a/src/parse/regex/mod.rs +++ b/src/parse/regex/mod.rs @@ -79,7 +79,7 @@ impl ByteConsumption { impl Ord for ByteConsumption { fn cmp(&self, other: &Self) -> std::cmp::Ordering { match (self, other) { - (Self::Bounded(a), Self::Bounded(b)) => a.cmp(&b), + (Self::Bounded(a), Self::Bounded(b)) => a.cmp(b), (Self::Bounded(_), Self::Unbounded) => std::cmp::Ordering::Less, (Self::Unbounded, Self::Bounded(_)) => std::cmp::Ordering::Greater, (Self::Unbounded, Self::Unbounded) => std::cmp::Ordering::Equal, |
