diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2019-07-06 23:30:32 +0200 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2019-08-16 17:11:18 +0200 |
| commit | 4eeb623e9ee35db03ec3281dcfd1c61194312404 (patch) | |
| tree | be94e150b86a1f8f927736b7a094ac23cdbaca0a /src/liballoc | |
| parent | 170d933d2f8a7d4787355a86136093af86b03077 (diff) | |
| download | rust-4eeb623e9ee35db03ec3281dcfd1c61194312404.tar.gz rust-4eeb623e9ee35db03ec3281dcfd1c61194312404.zip | |
Fix intra-rustdoc links
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/boxed.rs | 4 | ||||
| -rw-r--r-- | src/liballoc/rc.rs | 6 | ||||
| -rw-r--r-- | src/liballoc/sync.rs | 6 |
3 files changed, 14 insertions, 2 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs index 6e296907ce8..3442fce467a 100644 --- a/src/liballoc/boxed.rs +++ b/src/liballoc/boxed.rs @@ -200,6 +200,8 @@ impl<T> Box<mem::MaybeUninit<T>> { /// Calling this when the content is not yet fully initialized /// causes immediate undefined behavior. /// + /// [`MaybeUninit::assume_init`]: ../../std/mem/union.MaybeUninit.html#method.assume_init + /// /// # Examples /// /// ``` @@ -234,6 +236,8 @@ impl<T> Box<[mem::MaybeUninit<T>]> { /// Calling this when the content is not yet fully initialized /// causes immediate undefined behavior. /// + /// [`MaybeUninit::assume_init`]: ../../std/mem/union.MaybeUninit.html#method.assume_init + /// /// # Examples /// /// ``` diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs index aa1268ec051..70911790be2 100644 --- a/src/liballoc/rc.rs +++ b/src/liballoc/rc.rs @@ -471,6 +471,8 @@ impl<T> Rc<mem::MaybeUninit<T>> { /// Calling this when the content is not yet fully initialized /// causes immediate undefined behavior. /// + /// [`MaybeUninit::assume_init`]: ../../std/mem/union.MaybeUninit.html#method.assume_init + /// /// # Examples /// /// ``` @@ -513,6 +515,8 @@ impl<T> Rc<[mem::MaybeUninit<T>]> { /// Calling this when the content is not yet fully initialized /// causes immediate undefined behavior. /// + /// [`MaybeUninit::assume_init`]: ../../std/mem/union.MaybeUninit.html#method.assume_init + /// /// # Examples /// /// ``` @@ -745,7 +749,7 @@ impl<T: ?Sized> Rc<T> { /// /// # Safety /// - /// There must be no other `Rc` or [`Weak`][weak] pointers to the same value. + /// There must be no other `Rc` or [`Weak`] pointers to the same value. /// This is the case for example immediately after `Rc::new`. /// /// # Examples diff --git a/src/liballoc/sync.rs b/src/liballoc/sync.rs index 93441437e45..901d2d831d1 100644 --- a/src/liballoc/sync.rs +++ b/src/liballoc/sync.rs @@ -455,6 +455,8 @@ impl<T> Arc<mem::MaybeUninit<T>> { /// Calling this when the content is not yet fully initialized /// causes immediate undefined behavior. /// + /// [`MaybeUninit::assume_init`]: ../../std/mem/union.MaybeUninit.html#method.assume_init + /// /// # Examples /// /// ``` @@ -497,6 +499,8 @@ impl<T> Arc<[mem::MaybeUninit<T>]> { /// Calling this when the content is not yet fully initialized /// causes immediate undefined behavior. /// + /// [`MaybeUninit::assume_init`]: ../../std/mem/union.MaybeUninit.html#method.assume_init + /// /// # Examples /// /// ``` @@ -1130,7 +1134,7 @@ impl<T: ?Sized> Arc<T> { /// /// # Safety /// - /// There must be no other `Arc` or [`Weak`][weak] pointers to the same value. + /// There must be no other `Arc` or [`Weak`] pointers to the same value. /// This is the case for example immediately after `Rc::new`. /// /// # Examples |
