Fix doc comment on MaybeUninit::drop.
This commit is contained in:
parent
75e471ade9
commit
caef83282b
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue