Fix use of rand in liballoc benches

This commit is contained in:
John-John Tedro 2017-11-28 17:03:33 +01:00
parent 0a2e9ade83
commit 9bea79bd5e
2 changed files with 2 additions and 2 deletions

View file

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

View file

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