Skip to content

Commit 408895d

Browse files
committed
Escape needs_drop in the needs_drop documentation
1 parent 94ea5dc commit 408895d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/mem/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ pub fn align_of_val<T: ?Sized>(val: &T) -> usize {
380380
///
381381
/// # Examples
382382
///
383-
/// Here's an example of how a collection might make use of needs_drop:
383+
/// Here's an example of how a collection might make use of `needs_drop`:
384384
///
385385
/// ```
386386
/// use std::{mem, ptr};

0 commit comments

Comments
 (0)