8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
HashMap::raw_entry_mut
1 parent 6ef46b3 commit 82e24adCopy full SHA for 82e24ad
std/src/collections/hash/map.rs
@@ -1218,7 +1218,7 @@ where
1218
/// will cause the map to produce seemingly random results. Higher-level and
1219
/// more foolproof APIs like `entry` should be preferred when possible.
1220
///
1221
- /// In particular, the hash used to initialized the raw entry must still be
+ /// In particular, the hash used to initialize the raw entry must still be
1222
/// consistent with the hash of the key that is ultimately stored in the entry.
1223
/// This is because implementations of HashMap may need to recompute hashes
1224
/// when resizing, at which point only the keys are available.
0 commit comments