@@ -282,7 +282,7 @@ impl<K, V, S> HashMap<K, V, S> {
282
282
/// manually using this function can expose a DoS attack vector.
283
283
///
284
284
/// The `hash_builder` passed should implement the [`BuildHasher`] trait for
285
- /// the HashMap to be useful, see its documentation for details.
285
+ /// the ` HashMap` to be useful, see its documentation for details.
286
286
///
287
287
/// # Examples
288
288
///
@@ -314,7 +314,7 @@ impl<K, V, S> HashMap<K, V, S> {
314
314
/// manually using this function can expose a DoS attack vector.
315
315
///
316
316
/// The `hasher` passed should implement the [`BuildHasher`] trait for
317
- /// the HashMap to be useful, see its documentation for details.
317
+ /// the ` HashMap` to be useful, see its documentation for details.
318
318
///
319
319
/// # Examples
320
320
///
@@ -1283,7 +1283,7 @@ impl<K, V, S> HashMap<K, V, S>
1283
1283
where
1284
1284
S : BuildHasher ,
1285
1285
{
1286
- /// Creates a raw entry builder for the HashMap.
1286
+ /// Creates a raw entry builder for the ` HashMap` .
1287
1287
///
1288
1288
/// Raw entries provide the lowest level of control for searching and
1289
1289
/// manipulating a map. They must be manually initialized with a hash and
@@ -1298,13 +1298,13 @@ where
1298
1298
/// * Using custom comparison logic without newtype wrappers
1299
1299
///
1300
1300
/// Because raw entries provide much more low-level control, it's much easier
1301
- /// to put the HashMap into an inconsistent state which, while memory-safe,
1301
+ /// to put the ` HashMap` into an inconsistent state which, while memory-safe,
1302
1302
/// will cause the map to produce seemingly random results. Higher-level and
1303
1303
/// more foolproof APIs like `entry` should be preferred when possible.
1304
1304
///
1305
1305
/// In particular, the hash used to initialize the raw entry must still be
1306
1306
/// consistent with the hash of the key that is ultimately stored in the entry.
1307
- /// This is because implementations of HashMap may need to recompute hashes
1307
+ /// This is because implementations of ` HashMap` may need to recompute hashes
1308
1308
/// when resizing, at which point only the keys are available.
1309
1309
///
1310
1310
/// Raw entries give mutable access to the keys. This must not be used
@@ -1320,7 +1320,7 @@ where
1320
1320
RawEntryBuilderMut { map : self }
1321
1321
}
1322
1322
1323
- /// Creates a raw immutable entry builder for the HashMap.
1323
+ /// Creates a raw immutable entry builder for the ` HashMap` .
1324
1324
///
1325
1325
/// Raw entries provide the lowest level of control for searching and
1326
1326
/// manipulating a map. They must be manually initialized with a hash and
0 commit comments