From 94ea5dc5978f85a3ce6c8bf3543df2b35dde7ac1 Mon Sep 17 00:00:00 2001 From: Chris Gregory Date: Wed, 5 Jun 2019 18:21:17 -0700 Subject: [PATCH] Escape HashMap with backticks in needs_drop docs --- src/libcore/mem/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(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. /// ///