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 3bd06f2 commit d46cfe8Copy full SHA for d46cfe8
crates/chain/tests/test_spk_txout_index.rs
@@ -96,5 +96,5 @@ fn unmark_used_does_not_result_in_invalid_representation() {
96
assert!(!spk_index.unmark_used(&0));
97
assert!(!spk_index.unmark_used(&1));
98
assert!(!spk_index.unmark_used(&2));
99
- assert!(spk_index.unused_spks(..).collect::<Vec<_>>().is_empty());
+ assert!(spk_index.unused_spks(..).next().is_none());
100
}
0 commit comments