File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 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> {
472472 /// *immediate* undefined behavior, but will cause undefined behavior with most
473473 /// safe operations (including dropping it).
474474 ///
475+ /// [`Vec<T>`]: ../../std/vec/struct.Vec.html
476+ ///
475477 /// # Examples
476478 ///
477479 /// Correct usage of this method:
@@ -593,6 +595,7 @@ impl<T> MaybeUninit<T> {
593595 /// `Vec<T>` however will cause undefined behaviour.
594596 ///
595597 /// [`assume_init`]: MaybeUninit::assume_init
598+ /// [`Vec<T>`]: ../../std/vec/struct.Vec.html
596599 #[ unstable( feature = "maybe_uninit_extra" , issue = "63567" ) ]
597600 pub unsafe fn assume_init_drop ( & mut self ) {
598601 // SAFETY: the caller must guarantee that `self` is initialized and
You can’t perform that action at this time.
0 commit comments