Skip to content

Commit

Permalink
allow(clippy::needless_collect)
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Nov 29, 2022
1 parent a69e6c3 commit 78c8d5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zebra-chain/src/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ impl Block {
pub fn orchard_nullifiers(&self) -> impl Iterator<Item = &orchard::Nullifier> {
// Work around a compiler panic (ICE) with flat_map():
// https://github.com/rust-lang/rust/issues/105044
#[allow(clippy::needless_collect)]
let nullifiers: Vec<_> = self
.transactions
.iter()
Expand Down

0 comments on commit 78c8d5d

Please sign in to comment.