From 076ae25714b3e045742b4b3d6ec14ea894fb210d Mon Sep 17 00:00:00 2001 From: Denis Vasilik Date: Wed, 19 Aug 2020 00:10:57 +0200 Subject: [PATCH] Use intra-doc links for AtomicIsize::* --- library/core/src/intrinsics.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/library/core/src/intrinsics.rs b/library/core/src/intrinsics.rs index 07169692f8f4..fe10c1aec0ad 100644 --- a/library/core/src/intrinsics.rs +++ b/library/core/src/intrinsics.rs @@ -373,7 +373,7 @@ extern "rust-intrinsic" { /// `std::sync::atomic` types via the `fetch_add` method by passing /// [`Ordering::SeqCst`](crate::sync::atomic::Ordering::SeqCst) /// as the `order`. For example, - /// [`AtomicIsize::fetch_add`](../../std/sync/atomic/struct.AtomicIsize.html#method.fetch_add). + /// [`AtomicIsize::fetch_add`](crate::sync::atomic::AtomicIsize::fetch_add). pub fn atomic_xadd(dst: *mut T, src: T) -> T; /// Adds to the current value, returning the previous value. /// @@ -381,7 +381,7 @@ extern "rust-intrinsic" { /// `std::sync::atomic` types via the `fetch_add` method by passing /// [`Ordering::Acquire`](crate::sync::atomic::Ordering::Acquire) /// as the `order`. For example, - /// [`AtomicIsize::fetch_add`](../../std/sync/atomic/struct.AtomicIsize.html#method.fetch_add). + /// [`AtomicIsize::fetch_add`](crate::sync::atomic::AtomicIsize::fetch_add). pub fn atomic_xadd_acq(dst: *mut T, src: T) -> T; /// Adds to the current value, returning the previous value. /// @@ -389,7 +389,7 @@ extern "rust-intrinsic" { /// `std::sync::atomic` types via the `fetch_add` method by passing /// [`Ordering::Release`](crate::sync::atomic::Ordering::Release) /// as the `order`. For example, - /// [`AtomicIsize::fetch_add`](../../std/sync/atomic/struct.AtomicIsize.html#method.fetch_add). + /// [`AtomicIsize::fetch_add`](crate::sync::atomic::AtomicIsize::fetch_add). pub fn atomic_xadd_rel(dst: *mut T, src: T) -> T; /// Adds to the current value, returning the previous value. /// @@ -397,7 +397,7 @@ extern "rust-intrinsic" { /// `std::sync::atomic` types via the `fetch_add` method by passing /// [`Ordering::AcqRel`](crate::sync::atomic::Ordering::AcqRel) /// as the `order`. For example, - /// [`AtomicIsize::fetch_add`](../../std/sync/atomic/struct.AtomicIsize.html#method.fetch_add). + /// [`AtomicIsize::fetch_add`](crate::sync::atomic::AtomicIsize::fetch_add). pub fn atomic_xadd_acqrel(dst: *mut T, src: T) -> T; /// Adds to the current value, returning the previous value. /// @@ -405,7 +405,7 @@ extern "rust-intrinsic" { /// `std::sync::atomic` types via the `fetch_add` method by passing /// [`Ordering::Relaxed`](crate::sync::atomic::Ordering::Relaxed) /// as the `order`. For example, - /// [`AtomicIsize::fetch_add`](../../std/sync/atomic/struct.AtomicIsize.html#method.fetch_add). + /// [`AtomicIsize::fetch_add`](crate::sync::atomic::AtomicIsize::fetch_add). pub fn atomic_xadd_relaxed(dst: *mut T, src: T) -> T; /// Subtract from the current value, returning the previous value. @@ -414,7 +414,7 @@ extern "rust-intrinsic" { /// `std::sync::atomic` types via the `fetch_sub` method by passing /// [`Ordering::SeqCst`](crate::sync::atomic::Ordering::SeqCst) /// as the `order`. For example, - /// [`AtomicIsize::fetch_sub`](../../std/sync/atomic/struct.AtomicIsize.html#method.fetch_sub). + /// [`AtomicIsize::fetch_sub`](crate::sync::atomic::AtomicIsize::fetch_sub). pub fn atomic_xsub(dst: *mut T, src: T) -> T; /// Subtract from the current value, returning the previous value. /// @@ -422,7 +422,7 @@ extern "rust-intrinsic" { /// `std::sync::atomic` types via the `fetch_sub` method by passing /// [`Ordering::Acquire`](crate::sync::atomic::Ordering::Acquire) /// as the `order`. For example, - /// [`AtomicIsize::fetch_sub`](../../std/sync/atomic/struct.AtomicIsize.html#method.fetch_sub). + /// [`AtomicIsize::fetch_sub`](crate::sync::atomic::AtomicIsize::fetch_sub). pub fn atomic_xsub_acq(dst: *mut T, src: T) -> T; /// Subtract from the current value, returning the previous value. /// @@ -430,7 +430,7 @@ extern "rust-intrinsic" { /// `std::sync::atomic` types via the `fetch_sub` method by passing /// [`Ordering::Release`](crate::sync::atomic::Ordering::Release) /// as the `order`. For example, - /// [`AtomicIsize::fetch_sub`](../../std/sync/atomic/struct.AtomicIsize.html#method.fetch_sub). + /// [`AtomicIsize::fetch_sub`](crate::sync::atomic::AtomicIsize::fetch_sub). pub fn atomic_xsub_rel(dst: *mut T, src: T) -> T; /// Subtract from the current value, returning the previous value. /// @@ -438,7 +438,7 @@ extern "rust-intrinsic" { /// `std::sync::atomic` types via the `fetch_sub` method by passing /// [`Ordering::AcqRel`](crate::sync::atomic::Ordering::AcqRel) /// as the `order`. For example, - /// [`AtomicIsize::fetch_sub`](../../std/sync/atomic/struct.AtomicIsize.html#method.fetch_sub). + /// [`AtomicIsize::fetch_sub`](crate::sync::atomic::AtomicIsize::fetch_sub). pub fn atomic_xsub_acqrel(dst: *mut T, src: T) -> T; /// Subtract from the current value, returning the previous value. /// @@ -446,7 +446,7 @@ extern "rust-intrinsic" { /// `std::sync::atomic` types via the `fetch_sub` method by passing /// [`Ordering::Relaxed`](crate::sync::atomic::Ordering::Relaxed) /// as the `order`. For example, - /// [`AtomicIsize::fetch_sub`](../../std/sync/atomic/struct.AtomicIsize.html#method.fetch_sub). + /// [`AtomicIsize::fetch_sub`](crate::sync::atomic::AtomicIsize::fetch_sub). pub fn atomic_xsub_relaxed(dst: *mut T, src: T) -> T; /// Bitwise and with the current value, returning the previous value.