@@ -23,18 +23,19 @@ use mem;
23
23
/// (eg. `collections::HashMap` uses it by default).
24
24
///
25
25
/// See: <https://131002.net/siphash>
26
- #[ unstable( feature = "sip_hash_13 " , issue = "34767 " ) ]
26
+ #[ unstable( feature = "hashmap_internals " , issue = "0 " ) ]
27
27
#[ rustc_deprecated( since = "1.13.0" ,
28
28
reason = "use `std::collections::hash_map::DefaultHasher` instead" ) ]
29
29
#[ derive( Debug , Clone , Default ) ]
30
+ #[ doc( hidden) ]
30
31
pub struct SipHasher13 {
31
32
hasher : Hasher < Sip13Rounds > ,
32
33
}
33
34
34
35
/// An implementation of SipHash 2-4.
35
36
///
36
37
/// See: <https://131002.net/siphash/>
37
- #[ unstable( feature = "sip_hash_13 " , issue = "34767 " ) ]
38
+ #[ unstable( feature = "hashmap_internals " , issue = "0 " ) ]
38
39
#[ rustc_deprecated( since = "1.13.0" ,
39
40
reason = "use `std::collections::hash_map::DefaultHasher` instead" ) ]
40
41
#[ derive( Debug , Clone , Default ) ]
@@ -165,7 +166,7 @@ impl SipHasher {
165
166
impl SipHasher13 {
166
167
/// Creates a new `SipHasher13` with the two initial keys set to 0.
167
168
#[ inline]
168
- #[ unstable( feature = "sip_hash_13 " , issue = "34767 " ) ]
169
+ #[ unstable( feature = "hashmap_internals " , issue = "0 " ) ]
169
170
#[ rustc_deprecated( since = "1.13.0" ,
170
171
reason = "use `std::collections::hash_map::DefaultHasher` instead" ) ]
171
172
pub fn new ( ) -> SipHasher13 {
@@ -174,7 +175,7 @@ impl SipHasher13 {
174
175
175
176
/// Creates a `SipHasher13` that is keyed off the provided keys.
176
177
#[ inline]
177
- #[ unstable( feature = "sip_hash_13 " , issue = "34767 " ) ]
178
+ #[ unstable( feature = "hashmap_internals " , issue = "0 " ) ]
178
179
#[ rustc_deprecated( since = "1.13.0" ,
179
180
reason = "use `std::collections::hash_map::DefaultHasher` instead" ) ]
180
181
pub fn new_with_keys ( key0 : u64 , key1 : u64 ) -> SipHasher13 {
@@ -260,7 +261,7 @@ impl super::Hasher for SipHasher {
260
261
}
261
262
}
262
263
263
- #[ unstable( feature = "sip_hash_13 " , issue = "34767 " ) ]
264
+ #[ unstable( feature = "hashmap_internals " , issue = "0 " ) ]
264
265
impl super :: Hasher for SipHasher13 {
265
266
#[ inline]
266
267
fn write ( & mut self , msg : & [ u8 ] ) {
0 commit comments