Skip to content

Commit

Permalink
Rollup merge of rust-lang#68300 - ssomers:67281_take_2, r=Dylan-DPC
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Dylan-DPC committed Jan 17, 2020
2 parents ed0e11a + 4dbae1e commit 87a2896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liballoc/benches/string.rs
@@ -1,5 +1,5 @@
use std::iter::repeat;
use test::Bencher;
use test::{black_box, Bencher};

#[bench]
fn bench_with_capacity(b: &mut Bencher) {
Expand Down

0 comments on commit 87a2896

Please sign in to comment.