Skip to content

Commit c7571e6

Browse files
committed
Use intra-doc links for bool
1 parent 4bbed52 commit c7571e6

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

library/core/src/sync/atomic.rs

-12
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,6 @@ pub fn spin_loop_hint() {
144144
///
145145
/// **Note**: This type is only available on platforms that support atomic
146146
/// loads and stores of `u8`.
147-
///
148-
/// [`bool`]: ../../../std/primitive.bool.html
149147
#[cfg(target_has_atomic_load_store = "8")]
150148
#[stable(feature = "rust1", since = "1.0.0")]
151149
#[repr(C, align(1))]
@@ -312,8 +310,6 @@ impl AtomicBool {
312310
/// This is safe because the mutable reference guarantees that no other threads are
313311
/// concurrently accessing the atomic data.
314312
///
315-
/// [`bool`]: ../../../std/primitive.bool.html
316-
///
317313
/// # Examples
318314
///
319315
/// ```
@@ -486,8 +482,6 @@ impl AtomicBool {
486482
/// **Note:** This method is only available on platforms that support atomic
487483
/// operations on `u8`.
488484
///
489-
/// [`bool`]: ../../../std/primitive.bool.html
490-
///
491485
/// # Examples
492486
///
493487
/// ```
@@ -545,8 +539,6 @@ impl AtomicBool {
545539
/// **Note:** This method is only available on platforms that support atomic
546540
/// operations on `u8`.
547541
///
548-
/// [`bool`]: ../../../std/primitive.bool.html
549-
///
550542
/// # Examples
551543
///
552544
/// ```
@@ -766,8 +758,6 @@ impl AtomicBool {
766758
/// use of the returned raw pointer requires an `unsafe` block and still has to uphold the same
767759
/// restriction: operations on it must be atomic.
768760
///
769-
/// [`bool`]: ../../../std/primitive.bool.html
770-
///
771761
/// # Examples
772762
///
773763
/// ```ignore (extern-declaration)
@@ -1710,8 +1700,6 @@ and must be equivalent to or weaker than the success ordering.
17101700
**Note**: This method is only available on platforms that support atomic
17111701
operations on [`", $s_int_type, "`](", $int_ref, ").
17121702
1713-
[`bool`]: ../../../std/primitive.bool.html
1714-
17151703
# Examples
17161704
17171705
```rust

0 commit comments

Comments
 (0)