Fix typo in ManuallyDrop's documentation

This commit is contained in:
Infinixius 2024-05-10 23:13:32 +00:00 committed by GitHub
parent 6e1d94708a
commit 781d737478
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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