From d2e5898b097faf6f83b316547a2dd729b35ed7a8 Mon Sep 17 00:00:00 2001 From: Faiaz Sanaulla Date: Fri, 8 Dec 2023 12:25:07 +0100 Subject: [PATCH] VTX-3411: clippy --- object_store/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/object_store/src/lib.rs b/object_store/src/lib.rs index 2e4009d62de4..a09360a0aa9b 100644 --- a/object_store/src/lib.rs +++ b/object_store/src/lib.rs @@ -1261,7 +1261,7 @@ mod tests { .filter(|x| { let prefix_match = prefix.as_ref().map(|p| x.prefix_matches(p)).unwrap_or(true); - prefix_match && x > &offset + prefix_match && (x > &offset) }) .cloned() .collect();