Fix Clippy for Rust 1.90 beta (#7826)

Fix Clippy for recently released Rust 1.90 beta. There may be more changes required when Rust 1.89 stable is released in a few days, but possibly not 🤞
This commit is contained in:
Michael Sproul
2025-08-05 23:52:26 +10:00
committed by GitHub
parent adf6ad70f0
commit 0dcce40ccb
15 changed files with 42 additions and 38 deletions

View File

@@ -201,7 +201,7 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
let signature_set = signed_blocks
.iter()
.zip_eq(block_roots)
.filter(|&(_block, block_root)| (block_root != self.genesis_block_root))
.filter(|&(_block, block_root)| block_root != self.genesis_block_root)
.map(|(block, block_root)| {
block_proposal_signature_set_from_parts(
block,