Skip to content

Commit 8c03d75

Browse files
authored
Rollup merge of rust-lang#68300 - ssomers:67281_take_2, r=Dylan-DPC
Allow added string.insert benchmarks to compile Allow the code added by rust-lang#67281 to compile. (symptons listed [in internals forum](https://internals.rust-lang.org/t/x-py-how-to-benchmark-liballoc/11635)) r? @llogiq
2 parents f9a4be9 + 4dbae1e commit 8c03d75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liballoc/benches/string.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use std::iter::repeat;
2-
use test::Bencher;
2+
use test::{black_box, Bencher};
33

44
#[bench]
55
fn bench_with_capacity(b: &mut Bencher) {

0 commit comments

Comments
 (0)