We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a94b2cb commit 43c7a9bCopy full SHA for 43c7a9b
library/core/src/mem/maybe_uninit.rs
@@ -472,6 +472,8 @@ impl<T> MaybeUninit<T> {
472
/// *immediate* undefined behavior, but will cause undefined behavior with most
473
/// safe operations (including dropping it).
474
///
475
+ /// [`Vec<T>`]: ../../std/vec/struct.Vec.html
476
+ ///
477
/// # Examples
478
479
/// Correct usage of this method:
@@ -593,6 +595,7 @@ impl<T> MaybeUninit<T> {
593
595
/// `Vec<T>` however will cause undefined behaviour.
594
596
597
/// [`assume_init`]: MaybeUninit::assume_init
598
599
#[unstable(feature = "maybe_uninit_extra", issue = "63567")]
600
pub unsafe fn assume_init_drop(&mut self) {
601
// SAFETY: the caller must guarantee that `self` is initialized and
0 commit comments