Escape needs_drop in the needs_drop documentation
This commit is contained in:
parent
94ea5dc597
commit
408895d5b3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue