about summary refs log tree commit diff
path: root/src/liballoc/rc.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2019-07-06 23:30:32 +0200
committerSimon Sapin <simon.sapin@exyr.org>2019-08-16 17:11:18 +0200
commit4eeb623e9ee35db03ec3281dcfd1c61194312404 (patch)
treebe94e150b86a1f8f927736b7a094ac23cdbaca0a /src/liballoc/rc.rs
parent170d933d2f8a7d4787355a86136093af86b03077 (diff)
Fix intra-rustdoc links
Diffstat (limited to 'src/liballoc/rc.rs')
-rw-r--r--src/liballoc/rc.rs6
1 files changed, 5 insertions, 1 deletions
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