提交 caef8328 编写于 作者: M Mara Bos

Fix doc comment on MaybeUninit::drop.

上级 75e471ad
......@@ -576,8 +576,7 @@ pub unsafe fn read(&self) -> 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
///
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册