Fix doc comment on MaybeUninit::drop.

This commit is contained in:
Mara Bos 2020-09-08 19:34:23 +02:00
parent 75e471ade9
commit caef83282b

View file

@ -576,8 +576,7 @@ impl<T> MaybeUninit<T> {
/// Drops the contained value in place.
///
/// If you have ownership of the `MaybeUninit`, it is preferable to use
/// [`assume_init`] instead, which prevents duplicating the content.
/// If you have ownership of the `MaybeUninit`, you can use [`assume_init`] instead.
///
/// # Safety
///