1
Fork 0

Rollup merge of #46378 - udoprog:benches-rand, r=kennytm

Fix use of rand in liballoc benches
This commit is contained in:
Corey Farwell 2017-12-06 09:35:36 -05:00 committed by GitHub
commit f5e4aa2a80
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@
use std::iter::Iterator;
use std::vec::Vec;
use std::collections::BTreeMap;
use std::__rand::{Rng, thread_rng};
use rand::{Rng, thread_rng};
use test::{Bencher, black_box};
macro_rules! map_insert_rand_bench {

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use std::__rand::{thread_rng};
use rand::{thread_rng};
use std::mem;
use std::ptr;