fix deprecation warnings in liballoc benches
This commit is contained in:
parent
6d34ec18c7
commit
3414be0b3e
6 changed files with 11 additions and 7 deletions
|
@ -12,8 +12,9 @@ use rand::{thread_rng};
|
|||
use std::mem;
|
||||
use std::ptr;
|
||||
|
||||
use rand::{Rng, SeedableRng, XorShiftRng};
|
||||
use rand::{Rng, SeedableRng};
|
||||
use rand::distributions::{Standard, Alphanumeric};
|
||||
use rand_xorshift::XorShiftRng;
|
||||
use test::{Bencher, black_box};
|
||||
|
||||
#[bench]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue