We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7188f45 commit c610177Copy full SHA for c610177
library/core/src/mem/maybe_uninit.rs
@@ -391,7 +391,7 @@ impl<T> MaybeUninit<T> {
391
/// For your convenience, this also returns a mutable reference to the
392
/// (now safely initialized) contents of `self`.
393
///
394
- /// As the content is stored inside a `MaybeUninit`, the destructor is not
+ /// As the content is stored inside a `ManuallyDrop`, the destructor is not
395
/// run for the inner data if the MaybeUninit leaves scope without a call to
396
/// [`assume_init`], [`assume_init_drop`], or similar. Code that receives
397
/// the mutable reference returned by this function needs to keep this in
0 commit comments