@@ -59,6 +59,17 @@ Libraries
59
59
* [ ` IntoStringError::into_cstring ` ]
60
60
* [ ` IntoStringError::utf8_error ` ]
61
61
* ` Error for IntoStringError `
62
+ * Hashing
63
+ * [ ` std::hash::BuildHasher ` ]
64
+ * [ ` BuildHasher::Hasher ` ]
65
+ * [ ` BuildHasher::build_hasher ` ]
66
+ * [ ` std::hash::BuildHasherDefault ` ]
67
+ * [ ` HashMap::with_hasher ` ]
68
+ * [ ` HashMap::with_capacity_and_hasher ` ]
69
+ * [ ` HashSet::with_hasher ` ]
70
+ * [ ` HashSet::with_capacity_and_hasher ` ]
71
+ * [ ` std::collections::hash_map::RandomState ` ]
72
+ * [ ` RandomState::new ` ]
62
73
* [ Validating UTF-8 is faster by a factor of between 7 and 14x for
63
74
ASCII input] [ 1.7utf8 ] . This means that creating ` String ` s and ` str ` s
64
75
from bytes is faster.
@@ -133,11 +144,15 @@ Compatibility Notes
133
144
[ 1.7utf8 ] : https://github.com/rust-lang/rust/pull/30740
134
145
[ 1.7v ] : https://github.com/rust-lang/rust/pull/29973
135
146
[ RFC 1214 ] : https://github.com/rust-lang/rfcs/blob/master/text/1214-projections-lifetimes-and-wf.md
136
- [ `clone_from_slice ` ] : http://doc.rust-lang.org/nightly/std/primitive.slice .html#method.clone_from_slice
137
- [ `sort_by_key ` ] : http://doc.rust-lang.org/nightly/std/primitive.slice .html#method.sort_by_key
147
+ [ `BuildHasher::Hasher ` ] : http://doc.rust-lang.org/nightly/std/hash/trait.Hasher .html
148
+ [ `BuildHasher::build_hasher ` ] : http://doc.rust-lang.org/nightly/std/hash/trait.BuildHasher .html#tymethod.build_hasher
138
149
[ `CString::into_bytes_with_nul` ] : http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html#method.into_bytes_with_nul
139
150
[ `CString::into_bytes` ] : http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html#method.into_bytes
140
151
[ `CString::into_string` ] : http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html#method.into_string
152
+ [ `HashMap::with_capacity_and_hasher` ] : http://doc.rust-lang.org/nightly/std/collections/struct.HashMap.html#method.with_capacity_and_hasher
153
+ [ `HashMap::with_hasher` ] : http://doc.rust-lang.org/nightly/std/collections/struct.HashMap.html#method.with_hasher
154
+ [ `HashSet::with_capacity_and_hasher` ] : http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.with_capacity_and_hasher
155
+ [ `HashSet::with_hasher` ] : http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.with_hasher
141
156
[ `IntoStringError::into_cstring` ] : http://doc.rust-lang.org/nightly/std/ffi/struct.IntoStringError.html#method.into_cstring
142
157
[ `IntoStringError::utf8_error` ] : http://doc.rust-lang.org/nightly/std/ffi/struct.IntoStringError.html#method.utf8_error
143
158
[ `Ipv4Addr::is_broadcast` ] : http://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_broadcast
@@ -150,10 +165,12 @@ Compatibility Notes
150
165
[ `Ipv6Addr::is_multicast` ] : http://doc.rust-lang.org/nightly/std/net/struct.Ipv6Addr.html#method.is_multicast
151
166
[ `Ipv6Addr::is_unspecified` ] : http://doc.rust-lang.org/nightly/std/net/struct.Ipv6Addr.html#method.is_unspecified
152
167
[ `Path::strip_prefix` ] : http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.strip_prefix
168
+ [ `RandomState::new` ] : http://doc.rust-lang.org/nightly/std/collections/hash_map/struct.RandomState.html#method.new
153
169
[ `String::as_mut_str` ] : http://doc.rust-lang.org/nightly/std/string/struct.String.html#method.as_mut_str
154
170
[ `String::as_str` ] : http://doc.rust-lang.org/nightly/std/string/struct.String.html#method.as_str
155
171
[ `Vec::as_mut_slice` ] : http://doc.rust-lang.org/nightly/std/vec/struct.Vec.html#method.as_mut_slice
156
172
[ `Vec::as_slice` ] : http://doc.rust-lang.org/nightly/std/vec/struct.Vec.html#method.as_slice
173
+ [ `clone_from_slice` ] : http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.clone_from_slice
157
174
[ `ffi::IntoStringError` ] : http://doc.rust-lang.org/nightly/std/ffi/struct.IntoStringError.html
158
175
[ `i32::checked_neg` ] : http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.checked_neg
159
176
[ `i32::checked_rem` ] : http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.checked_rem
@@ -169,6 +186,10 @@ Compatibility Notes
169
186
[ `i32::overflowing_sub` ] : http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_sub
170
187
[ `i32::saturating_mul` ] : http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.saturating_mul
171
188
[ `path::StripPrefixError` ] : http://doc.rust-lang.org/nightly/std/path/struct.StripPrefixError.html
189
+ [ `sort_by_key` ] : http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.sort_by_key
190
+ [ `std::collections::hash_map::RandomState` ] : http://doc.rust-lang.org/nightly/std/collections/hash_map/struct.RandomState.html
191
+ [ `std::hash::BuildHasherDefault` ] : http://doc.rust-lang.org/nightly/std/hash/struct.BuildHasherDefault.html
192
+ [ `std::hash::BuildHasher` ] : http://doc.rust-lang.org/nightly/std/hash/trait.BuildHasher.html
172
193
[ `u32::checked_neg` ] : http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.checked_neg
173
194
[ `u32::checked_rem` ] : http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.checked_rem
174
195
[ `u32::checked_shl` ] : http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.checked_shl
0 commit comments