summaryrefslogtreecommitdiffstats
path: root/third_party/rust/smallvec/benches/bench.rs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/smallvec/benches/bench.rs')
-rw-r--r--third_party/rust/smallvec/benches/bench.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/third_party/rust/smallvec/benches/bench.rs b/third_party/rust/smallvec/benches/bench.rs
index b52ee15504..b6a8b857d3 100644
--- a/third_party/rust/smallvec/benches/bench.rs
+++ b/third_party/rust/smallvec/benches/bench.rs
@@ -1,12 +1,10 @@
#![feature(test)]
#![allow(deprecated)]
-#[macro_use]
-extern crate smallvec;
extern crate test;
use self::test::Bencher;
-use smallvec::{ExtendFromSlice, SmallVec};
+use smallvec::{ExtendFromSlice, smallvec, SmallVec};
const VEC_SIZE: usize = 16;
const SPILLED_SIZE: usize = 100;