about summary refs log tree commit diff
path: root/library/core/tests/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/core/tests/lib.rs')
-rw-r--r--library/core/tests/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/tests/lib.rs b/library/core/tests/lib.rs
index df7b34ce73b..45c102638b4 100644
--- a/library/core/tests/lib.rs
+++ b/library/core/tests/lib.rs
@@ -167,7 +167,7 @@ mod waker;
 #[allow(dead_code)] // Not used in all configurations.
 pub(crate) fn test_rng() -> rand_xorshift::XorShiftRng {
     use core::hash::{BuildHasher, Hash, Hasher};
-    let mut hasher = std::collections::hash_map::RandomState::new().build_hasher();
+    let mut hasher = std::hash::RandomState::new().build_hasher();
     core::panic::Location::caller().hash(&mut hasher);
     let hc64 = hasher.finish();
     let seed_vec = hc64.to_le_bytes().into_iter().chain(0u8..8).collect::<Vec<u8>>();