Skip to content

Commit 8ae636b

Browse files
committed
clarify into_inner and Drop
1 parent b7df252 commit 8ae636b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: text/0000-uninitialized-uninhabited.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,9 @@ impl<T> MaybeUninit<T> {
201201
}
202202
}
203203

204-
/// Extract the value from the `MaybeUninit` container.
204+
/// Extract the value from the `MaybeUninit` container. This is a great way
205+
/// to ensure that the data will get dropped, because the resulting `T` is
206+
/// subject to the usual drop handling.
205207
///
206208
/// # Unsafety
207209
///

0 commit comments

Comments
 (0)