about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChris Gregory <czipperz@gmail.com>2019-06-05 18:22:31 -0700
committerChris Gregory <czipperz@gmail.com>2019-06-05 18:22:31 -0700
commit408895d5b3ef3e64775646f70d5a76cacc5093b1 (patch)
treecccc89cad1b69feebcf5546b014baaf98a1fa26b
parent94ea5dc5978f85a3ce6c8bf3543df2b35dde7ac1 (diff)
downloadrust-408895d5b3ef3e64775646f70d5a76cacc5093b1.tar.gz
rust-408895d5b3ef3e64775646f70d5a76cacc5093b1.zip
Escape needs_drop in the needs_drop documentation
-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 6d578d178dc..b43ba6ac340 100644
--- a/src/libcore/mem/mod.rs
+++ b/src/libcore/mem/mod.rs
@@ -380,7 +380,7 @@ pub fn align_of_val<T: ?Sized>(val: &T) -> usize {
 ///
 /// # Examples
 ///
-/// Here's an example of how a collection might make use of needs_drop:
+/// Here's an example of how a collection might make use of `needs_drop`:
 ///
 /// ```
 /// use std::{mem, ptr};