mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: clean up lints (#5881)
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user