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:
@ -212,7 +212,7 @@ mod tests {
|
||||
|
||||
let headers = random_header_range(&mut rng, 0..100, B256::ZERO);
|
||||
let tx = db.factory.provider_rw().unwrap().into_tx();
|
||||
for header in headers.iter() {
|
||||
for header in &headers {
|
||||
TestStageDB::insert_header(None, &tx, header, U256::ZERO).unwrap();
|
||||
}
|
||||
tx.commit().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user