Rollup merge of #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. ```
This commit is contained in:
commit
0997891c54
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
use crate::ops::{Deref, DerefMut, DerefPure};
|
||||
use crate::ptr;
|
||||
|
||||
/// A wrapper to inhibit compiler from automatically calling `T`’s destructor.
|
||||
/// A wrapper to inhibit the compiler from automatically calling `T`’s destructor.
|
||||
/// This wrapper is 0-cost.
|
||||
///
|
||||
/// `ManuallyDrop<T>` is guaranteed to have the same layout and bit validity as
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue