diff options
| author | Stein Somers <git@steinsomers.be> | 2020-01-17 01:05:49 +0100 |
|---|---|---|
| committer | Stein Somers <git@steinsomers.be> | 2020-01-17 01:05:49 +0100 |
| commit | 4dbae1e8baf5c42b42aa2ab4d1104ec019b75b83 (patch) | |
| tree | fd58c45353b5a8405f473ab10a207b5e1ec2a14a | |
| parent | 48840618382eccb8a799320c8e5d08e3b52f4c42 (diff) | |
| download | rust-4dbae1e8baf5c42b42aa2ab4d1104ec019b75b83.tar.gz rust-4dbae1e8baf5c42b42aa2ab4d1104ec019b75b83.zip | |
Allow added string.insert benchmarks to compile
| -rw-r--r-- | src/liballoc/benches/string.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/benches/string.rs b/src/liballoc/benches/string.rs index 599c8b16828..5c95160ba2d 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) { |
