Rollup merge of #68300 - ssomers:67281_take_2, r=Dylan-DPC

Allow added string.insert benchmarks to compile

Allow the code added by #67281 to compile.

(symptons listed [in internals forum](https://internals.rust-lang.org/t/x-py-how-to-benchmark-liballoc/11635))
r? @llogiq
This commit is contained in:
Dylan DPC 2020-01-17 18:53:44 +05:30 committed by GitHub
commit 87a2896b0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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) {