chore: clean up lints (#5881)

This commit is contained in:
DaniPopes
2023-12-28 17:23:50 +01:00
committed by GitHub
parent 31161c9544
commit b1b059fe9b
92 changed files with 360 additions and 453 deletions

View File

@ -1,5 +1,3 @@
#![allow(dead_code, unused_imports, non_snake_case)]
use criterion::{
black_box, criterion_group, criterion_main, measurement::WallTime, BenchmarkGroup, Criterion,
};
@ -10,12 +8,8 @@ use proptest::{
strategy::{Strategy, ValueTree},
test_runner::TestRunner,
};
use reth_db::{
cursor::{DbCursorRW, DbDupCursorRO, DbDupCursorRW},
TxHashNumber,
};
use std::{collections::HashSet, time::Instant};
use test_fuzz::runtime::num_traits::Zero;
use reth_db::{cursor::DbCursorRW, TxHashNumber};
use std::collections::HashSet;
criterion_group! {
name = benches;
@ -216,6 +210,7 @@ where
}
#[derive(Debug)]
#[allow(dead_code)]
struct TableStats {
page_size: usize,
leaf_pages: usize,