about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/alloc/benches/vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/benches/vec.rs b/library/alloc/benches/vec.rs
index 687efa8e9e7..789ae3a20ea 100644
--- a/library/alloc/benches/vec.rs
+++ b/library/alloc/benches/vec.rs
@@ -1,4 +1,4 @@
-use rand::prelude::*;
+use rand::RngCore;
 use std::iter::{repeat, FromIterator};
 use test::{black_box, Bencher};