diff options
| author | ltdk <usr@ltdk.xyz> | 2023-10-13 02:44:19 -0400 |
|---|---|---|
| committer | ltdk <usr@ltdk.xyz> | 2023-11-02 20:35:20 -0400 |
| commit | 8337e86b28b9cdab7250e39710a1c81b99aeeb8d (patch) | |
| tree | a64a6c81265c4f270f95b56c0f1e39c12b727eb0 /library/core/src/array/mod.rs | |
| parent | 075409ddd9bf30602c7654e37127e1dbbb460871 (diff) | |
| download | rust-8337e86b28b9cdab7250e39710a1c81b99aeeb8d.tar.gz rust-8337e86b28b9cdab7250e39710a1c81b99aeeb8d.zip | |
Add insta-stable std::hash::{DefaultHasher, RandomState} exports
Diffstat (limited to 'library/core/src/array/mod.rs')
| -rw-r--r-- | library/core/src/array/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/array/mod.rs b/library/core/src/array/mod.rs index ebd4a8c05fe..9c8d7bbd999 100644 --- a/library/core/src/array/mod.rs +++ b/library/core/src/array/mod.rs @@ -297,7 +297,7 @@ impl<'a, T, const N: usize> TryFrom<&'a mut [T]> for &'a mut [T; N] { /// ``` /// use std::hash::BuildHasher; /// -/// let b = std::collections::hash_map::RandomState::new(); +/// let b = std::hash::RandomState::new(); /// let a: [u8; 3] = [0xa8, 0x3c, 0x09]; /// let s: &[u8] = &[0xa8, 0x3c, 0x09]; /// assert_eq!(b.hash_one(a), b.hash_one(s)); |
