Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions benches/bench.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
4 changes: 2 additions & 2 deletions benches/callgrind.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
4 changes: 2 additions & 2 deletions fuzz/fuzz_targets/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading