We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10d9b05 commit 1511f0aCopy full SHA for 1511f0a
tests/test_properties.rs
@@ -412,7 +412,7 @@ fn test_future_queue_impl<G: GroupSpec>(state: TestState<G>) {
412
let not_completed: Vec<_> = completed_map
413
.iter()
414
.enumerate()
415
- .filter_map(|(n, &v)| (!v).then(|| n.to_string()))
+ .filter(|(_, v)| !*v).map(|(n, _)| n.to_string())
416
.collect();
417
if !not_completed.is_empty() {
418
let not_completed_ids = not_completed.join(", ");
0 commit comments