mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
add explicit_iter_loop clippy lint (#8570)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -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())
|
||||
|
||||
Reference in New Issue
Block a user