Skip to content

Commit

Permalink
chore(clippy): fix needless_collect lint
Browse files Browse the repository at this point in the history
  • Loading branch information
notmandatory committed Oct 25, 2023
1 parent 3bd06f2 commit d46cfe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/chain/tests/test_spk_txout_index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,5 @@ fn unmark_used_does_not_result_in_invalid_representation() {
assert!(!spk_index.unmark_used(&0));
assert!(!spk_index.unmark_used(&1));
assert!(!spk_index.unmark_used(&2));
assert!(spk_index.unused_spks(..).collect::<Vec<_>>().is_empty());
assert!(spk_index.unused_spks(..).next().is_none());
}

0 comments on commit d46cfe8

Please sign in to comment.