diff options
| author | ltdk <usr@ltdk.xyz> | 2023-09-08 23:57:15 -0400 |
|---|---|---|
| committer | ltdk <usr@ltdk.xyz> | 2023-11-02 20:35:20 -0400 |
| commit | 075409ddd9bf30602c7654e37127e1dbbb460871 (patch) | |
| tree | bf25a94555a08287d62859077f8ef42e6b6c647f /library/std/src/path | |
| parent | a2f5f9691b6ce64c1703feaf9363710dfd7a56cf (diff) | |
| download | rust-075409ddd9bf30602c7654e37127e1dbbb460871.tar.gz rust-075409ddd9bf30602c7654e37127e1dbbb460871.zip | |
Move RandomState and DefaultHasher into std::hash, but don't export for now
Diffstat (limited to 'library/std/src/path')
| -rw-r--r-- | library/std/src/path/tests.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/library/std/src/path/tests.rs b/library/std/src/path/tests.rs index f12ffbf2e01..dbc0f7d9df3 100644 --- a/library/std/src/path/tests.rs +++ b/library/std/src/path/tests.rs @@ -1,8 +1,7 @@ use super::*; -use crate::collections::hash_map::DefaultHasher; use crate::collections::{BTreeSet, HashSet}; -use crate::hash::Hasher; +use crate::hash::{DefaultHasher, Hasher}; use crate::rc::Rc; use crate::sync::Arc; use core::hint::black_box; @@ -1461,8 +1460,7 @@ fn test_eq_receivers() { #[test] pub fn test_compare() { - use crate::collections::hash_map::DefaultHasher; - use crate::hash::{Hash, Hasher}; + use crate::hash::{DefaultHasher, Hash, Hasher}; fn hash<T: Hash>(t: T) -> u64 { let mut s = DefaultHasher::new(); |
