aboutsummaryrefslogtreecommitdiffstats
path: root/src/parse/regex/mod.rs
diff options
context:
space:
mode:
authorJonas Maier <jonas@x77.dev>2026-06-05 22:01:02 +0200
committerJonas Maier <jonas@x77.dev>2026-06-05 22:01:02 +0200
commitf06e116154bd6da5b7b3496e4ee23b5bd96745d3 (patch)
tree15e41fca2302e6d9c479c045c618f1100e6ec70b /src/parse/regex/mod.rs
parent39a849c46cc61cacc84c1d9a7e5c2c05bcf51f1a (diff)
downloadpish-f06e116154bd6da5b7b3496e4ee23b5bd96745d3.tar.gz
clippy
Diffstat (limited to 'src/parse/regex/mod.rs')
-rw-r--r--src/parse/regex/mod.rs2
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,