Commit 43c7a9b 1 parent a94b2cb commit 43c7a9b Copy full SHA for 43c7a9b
File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -472,6 +472,8 @@ impl<T> MaybeUninit<T> {
472
472
/// *immediate* undefined behavior, but will cause undefined behavior with most
473
473
/// safe operations (including dropping it).
474
474
///
475
+ /// [`Vec<T>`]: ../../std/vec/struct.Vec.html
476
+ ///
475
477
/// # Examples
476
478
///
477
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
///
595
597
/// [`assume_init`]: MaybeUninit::assume_init
598
+ /// [`Vec<T>`]: ../../std/vec/struct.Vec.html
596
599
#[ unstable( feature = "maybe_uninit_extra" , issue = "63567" ) ]
597
600
pub unsafe fn assume_init_drop ( & mut self ) {
598
601
// SAFETY: the caller must guarantee that `self` is initialized and
You can’t perform that action at this time.
0 commit comments