diff options
| author | Denis Vasilik <contact@denisvasilik.com> | 2020-08-28 17:30:05 +0200 |
|---|---|---|
| committer | Denis Vasilik <contact@denisvasilik.com> | 2020-08-28 17:30:05 +0200 |
| commit | c7571e60402adac4bf1b1ffa67f963a4a3f7d8b9 (patch) | |
| tree | dafe87a195450b9d1e08a0b06c2315c09d336b0a | |
| parent | 4bbed523208edf9521373498579ad63b22849a69 (diff) | |
| download | rust-c7571e60402adac4bf1b1ffa67f963a4a3f7d8b9.tar.gz rust-c7571e60402adac4bf1b1ffa67f963a4a3f7d8b9.zip | |
Use intra-doc links for bool
| -rw-r--r-- | library/core/src/sync/atomic.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/library/core/src/sync/atomic.rs b/library/core/src/sync/atomic.rs index 05c1120f999..1aec7e1b5f8 100644 --- a/library/core/src/sync/atomic.rs +++ b/library/core/src/sync/atomic.rs @@ -144,8 +144,6 @@ pub fn spin_loop_hint() { /// /// **Note**: This type is only available on platforms that support atomic /// loads and stores of `u8`. -/// -/// [`bool`]: ../../../std/primitive.bool.html #[cfg(target_has_atomic_load_store = "8")] #[stable(feature = "rust1", since = "1.0.0")] #[repr(C, align(1))] @@ -312,8 +310,6 @@ impl AtomicBool { /// This is safe because the mutable reference guarantees that no other threads are /// concurrently accessing the atomic data. /// - /// [`bool`]: ../../../std/primitive.bool.html - /// /// # Examples /// /// ``` @@ -486,8 +482,6 @@ impl AtomicBool { /// **Note:** This method is only available on platforms that support atomic /// operations on `u8`. /// - /// [`bool`]: ../../../std/primitive.bool.html - /// /// # Examples /// /// ``` @@ -545,8 +539,6 @@ impl AtomicBool { /// **Note:** This method is only available on platforms that support atomic /// operations on `u8`. /// - /// [`bool`]: ../../../std/primitive.bool.html - /// /// # Examples /// /// ``` @@ -766,8 +758,6 @@ impl AtomicBool { /// use of the returned raw pointer requires an `unsafe` block and still has to uphold the same /// restriction: operations on it must be atomic. /// - /// [`bool`]: ../../../std/primitive.bool.html - /// /// # Examples /// /// ```ignore (extern-declaration) @@ -1710,8 +1700,6 @@ and must be equivalent to or weaker than the success ordering. **Note**: This method is only available on platforms that support atomic operations on [`", $s_int_type, "`](", $int_ref, "). -[`bool`]: ../../../std/primitive.bool.html - # Examples ```rust |
