From 4dbae1e8baf5c42b42aa2ab4d1104ec019b75b83 Mon Sep 17 00:00:00 2001 From: Stein Somers Date: Fri, 17 Jan 2020 01:05:49 +0100 Subject: [PATCH] Allow added string.insert benchmarks to compile --- src/liballoc/benches/string.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/liballoc/benches/string.rs b/src/liballoc/benches/string.rs index 599c8b1682851..5c95160ba2d14 100644 --- a/src/liballoc/benches/string.rs +++ b/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) {