Fix use of rand in liballoc benches
This commit is contained in:
parent
0a2e9ade83
commit
9bea79bd5e
2 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue