about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorChris Gregory <czipperz@gmail.com>2019-06-05 18:21:17 -0700
committerChris Gregory <czipperz@gmail.com>2019-06-05 18:21:17 -0700
commit94ea5dc5978f85a3ce6c8bf3543df2b35dde7ac1 (patch)
tree6101a0372534fc2e2b458b4eee9c74cee708f96c /src/libcore
parente22b7a3eef962b1314d344ba7b2f27c986320b32 (diff)
downloadrust-94ea5dc5978f85a3ce6c8bf3543df2b35dde7ac1.tar.gz
rust-94ea5dc5978f85a3ce6c8bf3543df2b35dde7ac1.zip
Escape HashMap with backticks in needs_drop docs
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/mem/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/mem/mod.rs b/src/libcore/mem/mod.rs
index 91449f09936..6d578d178dc 100644
--- a/src/libcore/mem/mod.rs
+++ b/src/libcore/mem/mod.rs
@@ -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.
 ///
 ///