diff options
author | Tim Kurdov <tim.kurdov@gmail.com> | 2024-06-03 17:35:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-03 17:35:58 +0100 |
commit | 9436fbe00dd4def2efa6651de5f469f8d637fceb (patch) | |
tree | cd94af64b25fffcdddc643f74ca7d6765cb668a1 /library | |
parent | 8768db9912af2dc70651156bb638b09dc2cec630 (diff) |
Fix typo in the docs of `HashMap::raw_entry_mut`
Diffstat (limited to 'library')
-rw-r--r-- | library/std/src/collections/hash/map.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/collections/hash/map.rs b/library/std/src/collections/hash/map.rs index 5039f0b6bb2..fcd1c307b5a 100644 --- a/library/std/src/collections/hash/map.rs +++ b/library/std/src/collections/hash/map.rs @@ -1218,7 +1218,7 @@ where /// will cause the map to produce seemingly random results. Higher-level and /// more foolproof APIs like `entry` should be preferred when possible. /// - /// 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 /// consistent with the hash of the key that is ultimately stored in the entry. /// This is because implementations of HashMap may need to recompute hashes /// when resizing, at which point only the keys are available. |