Skip to content

Commit b63b13f

Browse files
authored
Rollup merge of rust-lang#124991 - Infinixius:patch-1, r=Nilstrieb
Fix typo in ManuallyDrop's documentation ```diff - /// A wrapper to inhibit compiler from automatically calling `T`’s destructor. + /// A wrapper to inhibit the compiler from automatically calling `T`’s destructor. ```
2 parents 6f9c077 + 9a1eb1e commit b63b13f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)