Rollup merge of #77184 - pickfire:patch-4, r=kennytm
Rust vec bench import specific rand::RngCore Using `RngCore` import for side effects is clearer than `*` which may bring it unnecessary more stuff than needed, it is also more explicit doing so. @pickfire change `LEN = 16384` (and pos) and `once` instead of `[0].iter()` after this. @rustbot modify labels: +C-cleanup +A-testsuite
This commit is contained in:
commit
bb416f3a59
@ -1,4 +1,4 @@
|
||||
use rand::prelude::*;
|
||||
use rand::RngCore;
|
||||
use std::iter::{repeat, FromIterator};
|
||||
use test::{black_box, Bencher};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user