Skip to content

Commit 6119ce6

Browse files
authored
Unrolled build for rust-lang#125932
Rollup merge of rust-lang#125932 - schvv31n:patch-1, r=lqd Fix typo in the docs of `HashMap::raw_entry_mut` <!-- If this PR is related to an unstable feature or an otherwise tracked effort, please link to the relevant tracking issue here. If you don't know of a related tracking issue or there are none, feel free to ignore this. This PR will get automatically assigned to a reviewer. In case you would like a specific user to review your work, you can assign it to them by using r​? <reviewer name> -->
2 parents 23e040a + 9436fbe commit 6119ce6

File tree

1 file changed

+1
-1
lines changed
  • library/std/src/collections/hash

1 file changed

+1
-1
lines changed

library/std/src/collections/hash/map.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,7 @@ where
12181218
/// will cause the map to produce seemingly random results. Higher-level and
12191219
/// more foolproof APIs like `entry` should be preferred when possible.
12201220
///
1221-
/// In particular, the hash used to initialized the raw entry must still be
1221+
/// In particular, the hash used to initialize the raw entry must still be
12221222
/// consistent with the hash of the key that is ultimately stored in the entry.
12231223
/// This is because implementations of HashMap may need to recompute hashes
12241224
/// when resizing, at which point only the keys are available.

0 commit comments

Comments
 (0)