Skip to content

Commit

Permalink
Escape HashMap with backticks in needs_drop docs
Browse files Browse the repository at this point in the history
  • Loading branch information
czipperz committed Jun 6, 2019
1 parent e22b7a3 commit 94ea5dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/mem/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ pub fn align_of_val<T: ?Sized>(val: &T) -> usize {
/// will do a single needs_drop check for all the values.
///
/// Types like Vec therefore just `drop_in_place(&mut self[..])` without using
/// needs_drop explicitly. Types like HashMap, on the other hand, have to drop
/// needs_drop explicitly. Types like `HashMap`, on the other hand, have to drop
/// values one at a time and should use this API.
///
///
Expand Down

0 comments on commit 94ea5dc

Please sign in to comment.