This is an automated email from the ASF dual-hosted git repository.

tustvold pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/master by this push:
     new 481652a4f8 Fix latest clippy lints (#5090)
481652a4f8 is described below

commit 481652a4f8d972b633063158903dbdb0adcf094d
Author: Raphael Taylor-Davies <[email protected]>
AuthorDate: Fri Nov 17 14:52:26 2023 +0000

    Fix latest clippy lints (#5090)
---
 object_store/src/lib.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/object_store/src/lib.rs b/object_store/src/lib.rs
index 2d1d549f9e..40dca8f756 100644
--- a/object_store/src/lib.rs
+++ b/object_store/src/lib.rs
@@ -1535,11 +1535,11 @@ mod tests {
 
             let expected: Vec<_> = files
                 .iter()
-                .cloned()
                 .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();
 
             assert_eq!(actual, expected, "{prefix:?} - {offset:?}");

Reply via email to