]> git.lizzy.rs Git - rust.git/blobdiff - src/liballoc/benches/string.rs
rustc_span: return an impl Iterator instead of a Vec from macro_backtrace.
[rust.git] / src / liballoc / benches / string.rs
index 599c8b1682851a7dc0a6dfbf66b4b969ca078d42..5c95160ba2d14dba82ea7a57b4fef7b64ef45f88 100644 (file)
@@ -1,5 +1,5 @@
 use std::iter::repeat;
-use test::Bencher;
+use test::{black_box, Bencher};
 
 #[bench]
 fn bench_with_capacity(b: &mut Bencher) {