diff --git a/benches/bench.rs b/benches/bench.rs index 2d11e03e..15cd319e 100644 --- a/benches/bench.rs +++ b/benches/bench.rs @@ -1,15 +1,15 @@ use { + core::{ + hint::black_box, + time::Duration + }, criterion::{ Bencher, Criterion, criterion_group, criterion_main }, - smallvec::SmallVec, - std::{ - hint::black_box, - time::Duration - } + smallvec::SmallVec }; const VEC_SIZE: usize = 16; diff --git a/benches/callgrind.rs b/benches/callgrind.rs index 9f3c605a..4347c493 100644 --- a/benches/callgrind.rs +++ b/benches/callgrind.rs @@ -1,11 +1,11 @@ use { + core::hint::black_box, iai_callgrind::{ library_benchmark, library_benchmark_group, main }, - smallvec::SmallVec, - std::hint::black_box + smallvec::SmallVec }; const INLINE_CAP: usize = 16; diff --git a/fuzz/fuzz_targets/main.rs b/fuzz/fuzz_targets/main.rs index 1ca02359..89b16316 100644 --- a/fuzz/fuzz_targets/main.rs +++ b/fuzz/fuzz_targets/main.rs @@ -4,9 +4,9 @@ use { arbitrary::Arbitrary, + core::fmt::Debug, libfuzzer_sys::fuzz_target, - smallvec::SmallVec, - std::fmt::Debug + smallvec::SmallVec }; // Upper bound on the harness's test vectors's capacity.