Skip to content

Commit 781d737

Browse files
authored
Fix typo in ManuallyDrop's documentation
1 parent 6e1d947 commit 781d737

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/mem/manually_drop.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use crate::ops::{Deref, DerefMut, DerefPure};
22
use crate::ptr;
33

4-
/// A wrapper to inhibit compiler from automatically calling `T`’s destructor.
4+
/// A wrapper to inhibit the compiler from automatically calling `T`’s destructor.
55
/// This wrapper is 0-cost.
66
///
77
/// `ManuallyDrop<T>` is guaranteed to have the same layout and bit validity as

0 commit comments

Comments
 (0)