mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
lints: use rust-2018-idioms to eliminate #![allow(elided-lifetimes-in-paths)] (#5944)
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
#![allow(missing_docs, elided_lifetimes_in_paths)]
|
||||
#![allow(missing_docs)]
|
||||
use criterion::{
|
||||
black_box, criterion_group, criterion_main, measurement::WallTime, BenchmarkGroup, Criterion,
|
||||
};
|
||||
@ -38,7 +38,7 @@ pub fn hash_keys(c: &mut Criterion) {
|
||||
}
|
||||
}
|
||||
|
||||
fn measure_table_insertion<T>(group: &mut BenchmarkGroup<WallTime>, size: usize)
|
||||
fn measure_table_insertion<T>(group: &mut BenchmarkGroup<'_, WallTime>, size: usize)
|
||||
where
|
||||
T: Table + Default,
|
||||
T::Key: Default
|
||||
|
||||
Reference in New Issue
Block a user