@@ -23,18 +23,19 @@ use mem;
2323/// (eg. `collections::HashMap` uses it by default).
2424///
2525/// See: <https://131002.net/siphash>
26- #[ unstable( feature = "sip_hash_13 " , issue = "34767 " ) ]
26+ #[ unstable( feature = "hashmap_internals " , issue = "0 " ) ]
2727#[ rustc_deprecated( since = "1.13.0" ,
2828 reason = "use `std::collections::hash_map::DefaultHasher` instead" ) ]
2929#[ derive( Debug , Clone , Default ) ]
30+ #[ doc( hidden) ]
3031pub struct SipHasher13 {
3132 hasher : Hasher < Sip13Rounds > ,
3233}
3334
3435/// An implementation of SipHash 2-4.
3536///
3637/// See: <https://131002.net/siphash/>
37- #[ unstable( feature = "sip_hash_13 " , issue = "34767 " ) ]
38+ #[ unstable( feature = "hashmap_internals " , issue = "0 " ) ]
3839#[ rustc_deprecated( since = "1.13.0" ,
3940 reason = "use `std::collections::hash_map::DefaultHasher` instead" ) ]
4041#[ derive( Debug , Clone , Default ) ]
@@ -165,7 +166,7 @@ impl SipHasher {
165166impl SipHasher13 {
166167 /// Creates a new `SipHasher13` with the two initial keys set to 0.
167168 #[ inline]
168- #[ unstable( feature = "sip_hash_13 " , issue = "34767 " ) ]
169+ #[ unstable( feature = "hashmap_internals " , issue = "0 " ) ]
169170 #[ rustc_deprecated( since = "1.13.0" ,
170171 reason = "use `std::collections::hash_map::DefaultHasher` instead" ) ]
171172 pub fn new ( ) -> SipHasher13 {
@@ -174,7 +175,7 @@ impl SipHasher13 {
174175
175176 /// Creates a `SipHasher13` that is keyed off the provided keys.
176177 #[ inline]
177- #[ unstable( feature = "sip_hash_13 " , issue = "34767 " ) ]
178+ #[ unstable( feature = "hashmap_internals " , issue = "0 " ) ]
178179 #[ rustc_deprecated( since = "1.13.0" ,
179180 reason = "use `std::collections::hash_map::DefaultHasher` instead" ) ]
180181 pub fn new_with_keys ( key0 : u64 , key1 : u64 ) -> SipHasher13 {
@@ -260,7 +261,7 @@ impl super::Hasher for SipHasher {
260261 }
261262}
262263
263- #[ unstable( feature = "sip_hash_13 " , issue = "34767 " ) ]
264+ #[ unstable( feature = "hashmap_internals " , issue = "0 " ) ]
264265impl super :: Hasher for SipHasher13 {
265266 #[ inline]
266267 fn write ( & mut self , msg : & [ u8 ] ) {
0 commit comments