Skip to content

Commit bb416f3

Browse files
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
2 parents 5926c43 + 939fd37 commit bb416f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/benches/vec.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use rand::prelude::*;
1+
use rand::RngCore;
22
use std::iter::{repeat, FromIterator};
33
use test::{black_box, Bencher};
44

0 commit comments

Comments
 (0)