add explicit_iter_loop clippy lint (#8570)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Thomas Coratger
2024-06-03 20:14:50 +02:00
committed by GitHub
parent 6e446084f0
commit 2b4fa96065
47 changed files with 79 additions and 78 deletions

View File

@ -61,7 +61,7 @@ fn txpool_reordering_bench<T: BenchTxPool>(
let mut txpool = T::default();
txpool.reorder(base_fee);
for tx in seed.iter() {
for tx in &seed {
txpool.add_transaction(tx.clone());
}
(txpool, new_txs.clone())