1
Fork 0

fix deprecation warnings in liballoc benches

This commit is contained in:
Ralf Jung 2018-12-21 11:33:29 +01:00
parent 6d34ec18c7
commit 3414be0b3e
6 changed files with 11 additions and 7 deletions

View file

@ -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]