Escape needs_drop in the needs_drop documentation

This commit is contained in:
Chris Gregory 2019-06-05 18:22:31 -07:00
parent 94ea5dc597
commit 408895d5b3

View File

@ -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};