From f06e116154bd6da5b7b3496e4ee23b5bd96745d3 Mon Sep 17 00:00:00 2001 From: Jonas Maier Date: Fri, 5 Jun 2026 22:01:02 +0200 Subject: clippy --- src/parse/regex/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parse/regex/mod.rs') 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, -- cgit v1.2.3