Skip to content

Commit 1511f0a

Browse files
committed
fix clippy
1 parent 10d9b05 commit 1511f0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_properties.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ fn test_future_queue_impl<G: GroupSpec>(state: TestState<G>) {
412412
let not_completed: Vec<_> = completed_map
413413
.iter()
414414
.enumerate()
415-
.filter_map(|(n, &v)| (!v).then(|| n.to_string()))
415+
.filter(|(_, v)| !*v).map(|(n, _)| n.to_string())
416416
.collect();
417417
if !not_completed.is_empty() {
418418
let not_completed_ids = not_completed.join(", ");

0 commit comments

Comments
 (0)