mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user