Skip to content

Commit

Permalink
clarify into_inner and Drop
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Aug 6, 2018
1 parent b7df252 commit 8ae636b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion text/0000-uninitialized-uninhabited.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,9 @@ impl<T> MaybeUninit<T> {
}
}

/// Extract the value from the `MaybeUninit` container.
/// Extract the value from the `MaybeUninit` container. This is a great way
/// to ensure that the data will get dropped, because the resulting `T` is
/// subject to the usual drop handling.
///
/// # Unsafety
///
Expand Down

0 comments on commit 8ae636b

Please sign in to comment.