Skip to content

Commit 2373dbc

Browse files
committed
Use intra-doc links for AtomicI32::*
1 parent 076ae25 commit 2373dbc

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

library/core/src/intrinsics.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -619,39 +619,39 @@ extern "rust-intrinsic" {
619619
/// `std::sync::atomic` signed integer types via the `fetch_max` method by passing
620620
/// [`Ordering::SeqCst`](crate::sync::atomic::Ordering::SeqCst)
621621
/// as the `order`. For example,
622-
/// [`AtomicI32::fetch_max`](../../std/sync/atomic/struct.AtomicI32.html#method.fetch_max).
622+
/// [`AtomicI32::fetch_max`](crate::sync::atomic::AtomicI32::fetch_max).
623623
pub fn atomic_max<T: Copy>(dst: *mut T, src: T) -> T;
624624
/// Maximum with the current value using a signed comparison.
625625
///
626626
/// The stabilized version of this intrinsic is available on the
627627
/// `std::sync::atomic` signed integer types via the `fetch_max` method by passing
628628
/// [`Ordering::Acquire`](crate::sync::atomic::Ordering::Acquire)
629629
/// as the `order`. For example,
630-
/// [`AtomicI32::fetch_max`](../../std/sync/atomic/struct.AtomicI32.html#method.fetch_max).
630+
/// [`AtomicI32::fetch_max`](crate::sync::atomic::AtomicI32::fetch_max).
631631
pub fn atomic_max_acq<T: Copy>(dst: *mut T, src: T) -> T;
632632
/// Maximum with the current value using a signed comparison.
633633
///
634634
/// The stabilized version of this intrinsic is available on the
635635
/// `std::sync::atomic` signed integer types via the `fetch_max` method by passing
636636
/// [`Ordering::Release`](crate::sync::atomic::Ordering::Release)
637637
/// as the `order`. For example,
638-
/// [`AtomicI32::fetch_max`](../../std/sync/atomic/struct.AtomicI32.html#method.fetch_max).
638+
/// [`AtomicI32::fetch_max`](crate::sync::atomic::AtomicI32::fetch_max).
639639
pub fn atomic_max_rel<T: Copy>(dst: *mut T, src: T) -> T;
640640
/// Maximum with the current value using a signed comparison.
641641
///
642642
/// The stabilized version of this intrinsic is available on the
643643
/// `std::sync::atomic` signed integer types via the `fetch_max` method by passing
644644
/// [`Ordering::AcqRel`](crate::sync::atomic::Ordering::AcqRel)
645645
/// as the `order`. For example,
646-
/// [`AtomicI32::fetch_max`](../../std/sync/atomic/struct.AtomicI32.html#method.fetch_max).
646+
/// [`AtomicI32::fetch_max`](crate::sync::atomic::AtomicI32::fetch_max).
647647
pub fn atomic_max_acqrel<T: Copy>(dst: *mut T, src: T) -> T;
648648
/// Maximum with the current value.
649649
///
650650
/// The stabilized version of this intrinsic is available on the
651651
/// `std::sync::atomic` signed integer types via the `fetch_max` method by passing
652652
/// [`Ordering::Relaxed`](crate::sync::atomic::Ordering::Relaxed)
653653
/// as the `order`. For example,
654-
/// [`AtomicI32::fetch_max`](../../std/sync/atomic/struct.AtomicI32.html#method.fetch_max).
654+
/// [`AtomicI32::fetch_max`](crate::sync::atomic::AtomicI32::fetch_max).
655655
pub fn atomic_max_relaxed<T: Copy>(dst: *mut T, src: T) -> T;
656656

657657
/// Minimum with the current value using a signed comparison.
@@ -660,39 +660,39 @@ extern "rust-intrinsic" {
660660
/// `std::sync::atomic` signed integer types via the `fetch_min` method by passing
661661
/// [`Ordering::SeqCst`](crate::sync::atomic::Ordering::SeqCst)
662662
/// as the `order`. For example,
663-
/// [`AtomicI32::fetch_min`](../../std/sync/atomic/struct.AtomicI32.html#method.fetch_min).
663+
/// [`AtomicI32::fetch_min`](crate::sync::atomic::AtomicI32::fetch_min).
664664
pub fn atomic_min<T: Copy>(dst: *mut T, src: T) -> T;
665665
/// Minimum with the current value using a signed comparison.
666666
///
667667
/// The stabilized version of this intrinsic is available on the
668668
/// `std::sync::atomic` signed integer types via the `fetch_min` method by passing
669669
/// [`Ordering::Acquire`](crate::sync::atomic::Ordering::Acquire)
670670
/// as the `order`. For example,
671-
/// [`AtomicI32::fetch_min`](../../std/sync/atomic/struct.AtomicI32.html#method.fetch_min).
671+
/// [`AtomicI32::fetch_min`](crate::sync::atomic::AtomicI32::fetch_min).
672672
pub fn atomic_min_acq<T: Copy>(dst: *mut T, src: T) -> T;
673673
/// Minimum with the current value using a signed comparison.
674674
///
675675
/// The stabilized version of this intrinsic is available on the
676676
/// `std::sync::atomic` signed integer types via the `fetch_min` method by passing
677677
/// [`Ordering::Release`](crate::sync::atomic::Ordering::Release)
678678
/// as the `order`. For example,
679-
/// [`AtomicI32::fetch_min`](../../std/sync/atomic/struct.AtomicI32.html#method.fetch_min).
679+
/// [`AtomicI32::fetch_min`](crate::sync::atomic::AtomicI32::fetch_min).
680680
pub fn atomic_min_rel<T: Copy>(dst: *mut T, src: T) -> T;
681681
/// Minimum with the current value using a signed comparison.
682682
///
683683
/// The stabilized version of this intrinsic is available on the
684684
/// `std::sync::atomic` signed integer types via the `fetch_min` method by passing
685685
/// [`Ordering::AcqRel`](crate::sync::atomic::Ordering::AcqRel)
686686
/// as the `order`. For example,
687-
/// [`AtomicI32::fetch_min`](../../std/sync/atomic/struct.AtomicI32.html#method.fetch_min).
687+
/// [`AtomicI32::fetch_min`](crate::sync::atomic::AtomicI32::fetch_min).
688688
pub fn atomic_min_acqrel<T: Copy>(dst: *mut T, src: T) -> T;
689689
/// Minimum with the current value using a signed comparison.
690690
///
691691
/// The stabilized version of this intrinsic is available on the
692692
/// `std::sync::atomic` signed integer types via the `fetch_min` method by passing
693693
/// [`Ordering::Relaxed`](crate::sync::atomic::Ordering::Relaxed)
694694
/// as the `order`. For example,
695-
/// [`AtomicI32::fetch_min`](../../std/sync/atomic/struct.AtomicI32.html#method.fetch_min).
695+
/// [`AtomicI32::fetch_min`](crate::sync::atomic::AtomicI32::fetch_min).
696696
pub fn atomic_min_relaxed<T: Copy>(dst: *mut T, src: T) -> T;
697697

698698
/// Minimum with the current value using an unsigned comparison.

0 commit comments

Comments
 (0)