Skip to content

Commit

Permalink
Fix latest clippy lints (#5090)
Browse files Browse the repository at this point in the history
  • Loading branch information
tustvold authored Nov 17, 2023
1 parent 873d277 commit 481652a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions object_store/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:?}");
Expand Down

0 comments on commit 481652a

Please sign in to comment.