Address Clippy 1.73 lints (#4809)

## Proposed Changes

Fix Clippy lints enabled by default in Rust 1.73.0, released today.
This commit is contained in:
Michael Sproul
2023-10-06 03:05:47 +00:00
parent b82f7843ff
commit 9769a247b2
9 changed files with 14 additions and 18 deletions

View File

@@ -343,7 +343,7 @@ impl<T: EthSpec> ExecutionBlockGenerator<T> {
let block_hash = block.block_hash();
self.block_hashes
.entry(block.block_number())
.or_insert_with(Vec::new)
.or_default()
.push(block_hash);
self.blocks.insert(block_hash, block);