Fix Rust 1.88 clippy errors & execution engine tests (#7657)

Fix Rust 1.88 clippy errors.
This commit is contained in:
Jimmy Chen
2025-06-28 04:21:17 +10:00
committed by GitHub
parent 9b1f3ed9d1
commit 83cad25d98
6 changed files with 21 additions and 21 deletions

View File

@@ -86,15 +86,15 @@ impl<E: EthSpec> PersistedOperationPool<E> {
let proposer_slashings = operation_pool
.proposer_slashings
.read()
.iter()
.map(|(_, slashing)| slashing.clone())
.values()
.cloned()
.collect();
let voluntary_exits = operation_pool
.voluntary_exits
.read()
.iter()
.map(|(_, exit)| exit.clone())
.values()
.cloned()
.collect();
let bls_to_execution_changes = operation_pool