Escape needs_drop in the needs_drop documentation
This commit is contained in:
parent
94ea5dc597
commit
408895d5b3
@ -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};
|
||||
|
Loading…
x
Reference in New Issue
Block a user