File tree 3 files changed +14
-2
lines changed
3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -200,6 +200,8 @@ impl<T> Box<mem::MaybeUninit<T>> {
200
200
/// Calling this when the content is not yet fully initialized
201
201
/// causes immediate undefined behavior.
202
202
///
203
+ /// [`MaybeUninit::assume_init`]: ../../std/mem/union.MaybeUninit.html#method.assume_init
204
+ ///
203
205
/// # Examples
204
206
///
205
207
/// ```
@@ -234,6 +236,8 @@ impl<T> Box<[mem::MaybeUninit<T>]> {
234
236
/// Calling this when the content is not yet fully initialized
235
237
/// causes immediate undefined behavior.
236
238
///
239
+ /// [`MaybeUninit::assume_init`]: ../../std/mem/union.MaybeUninit.html#method.assume_init
240
+ ///
237
241
/// # Examples
238
242
///
239
243
/// ```
Original file line number Diff line number Diff line change @@ -471,6 +471,8 @@ impl<T> Rc<mem::MaybeUninit<T>> {
471
471
/// Calling this when the content is not yet fully initialized
472
472
/// causes immediate undefined behavior.
473
473
///
474
+ /// [`MaybeUninit::assume_init`]: ../../std/mem/union.MaybeUninit.html#method.assume_init
475
+ ///
474
476
/// # Examples
475
477
///
476
478
/// ```
@@ -513,6 +515,8 @@ impl<T> Rc<[mem::MaybeUninit<T>]> {
513
515
/// Calling this when the content is not yet fully initialized
514
516
/// causes immediate undefined behavior.
515
517
///
518
+ /// [`MaybeUninit::assume_init`]: ../../std/mem/union.MaybeUninit.html#method.assume_init
519
+ ///
516
520
/// # Examples
517
521
///
518
522
/// ```
@@ -745,7 +749,7 @@ impl<T: ?Sized> Rc<T> {
745
749
///
746
750
/// # Safety
747
751
///
748
- /// There must be no other `Rc` or [`Weak`][weak] pointers to the same value.
752
+ /// There must be no other `Rc` or [`Weak`] pointers to the same value.
749
753
/// This is the case for example immediately after `Rc::new`.
750
754
///
751
755
/// # Examples
Original file line number Diff line number Diff line change @@ -455,6 +455,8 @@ impl<T> Arc<mem::MaybeUninit<T>> {
455
455
/// Calling this when the content is not yet fully initialized
456
456
/// causes immediate undefined behavior.
457
457
///
458
+ /// [`MaybeUninit::assume_init`]: ../../std/mem/union.MaybeUninit.html#method.assume_init
459
+ ///
458
460
/// # Examples
459
461
///
460
462
/// ```
@@ -497,6 +499,8 @@ impl<T> Arc<[mem::MaybeUninit<T>]> {
497
499
/// Calling this when the content is not yet fully initialized
498
500
/// causes immediate undefined behavior.
499
501
///
502
+ /// [`MaybeUninit::assume_init`]: ../../std/mem/union.MaybeUninit.html#method.assume_init
503
+ ///
500
504
/// # Examples
501
505
///
502
506
/// ```
@@ -1130,7 +1134,7 @@ impl<T: ?Sized> Arc<T> {
1130
1134
///
1131
1135
/// # Safety
1132
1136
///
1133
- /// There must be no other `Arc` or [`Weak`][weak] pointers to the same value.
1137
+ /// There must be no other `Arc` or [`Weak`] pointers to the same value.
1134
1138
/// This is the case for example immediately after `Rc::new`.
1135
1139
///
1136
1140
/// # Examples
You can’t perform that action at this time.
0 commit comments