Skip to content

Commit 94ea5dc

Browse files
committed
Escape HashMap with backticks in needs_drop docs
1 parent e22b7a3 commit 94ea5dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/mem/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ pub fn align_of_val<T: ?Sized>(val: &T) -> usize {
374374
/// will do a single needs_drop check for all the values.
375375
///
376376
/// Types like Vec therefore just `drop_in_place(&mut self[..])` without using
377-
/// needs_drop explicitly. Types like HashMap, on the other hand, have to drop
377+
/// needs_drop explicitly. Types like `HashMap`, on the other hand, have to drop
378378
/// values one at a time and should use this API.
379379
///
380380
///

0 commit comments

Comments
 (0)