Skip to content

Commit 7b5ec9e

Browse files
committed
Use intra-doc links for AtomicU32::*
1 parent 2373dbc commit 7b5ec9e

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
@@ -701,39 +701,39 @@ extern "rust-intrinsic" {
701701
/// `std::sync::atomic` unsigned integer types via the `fetch_min` method by passing
702702
/// [`Ordering::SeqCst`](crate::sync::atomic::Ordering::SeqCst)
703703
/// as the `order`. For example,
704-
/// [`AtomicU32::fetch_min`](../../std/sync/atomic/struct.AtomicU32.html#method.fetch_min).
704+
/// [`AtomicU32::fetch_min`](crate::sync::atomic::AtomicU32::fetch_min).
705705
pub fn atomic_umin<T: Copy>(dst: *mut T, src: T) -> T;
706706
/// Minimum with the current value using an unsigned comparison.
707707
///
708708
/// The stabilized version of this intrinsic is available on the
709709
/// `std::sync::atomic` unsigned integer types via the `fetch_min` method by passing
710710
/// [`Ordering::Acquire`](crate::sync::atomic::Ordering::Acquire)
711711
/// as the `order`. For example,
712-
/// [`AtomicU32::fetch_min`](../../std/sync/atomic/struct.AtomicU32.html#method.fetch_min).
712+
/// [`AtomicU32::fetch_min`](crate::sync::atomic::AtomicU32::fetch_min).
713713
pub fn atomic_umin_acq<T: Copy>(dst: *mut T, src: T) -> T;
714714
/// Minimum with the current value using an unsigned comparison.
715715
///
716716
/// The stabilized version of this intrinsic is available on the
717717
/// `std::sync::atomic` unsigned integer types via the `fetch_min` method by passing
718718
/// [`Ordering::Release`](crate::sync::atomic::Ordering::Release)
719719
/// as the `order`. For example,
720-
/// [`AtomicU32::fetch_min`](../../std/sync/atomic/struct.AtomicU32.html#method.fetch_min).
720+
/// [`AtomicU32::fetch_min`](crate::sync::atomic::AtomicU32::fetch_min).
721721
pub fn atomic_umin_rel<T: Copy>(dst: *mut T, src: T) -> T;
722722
/// Minimum with the current value using an unsigned comparison.
723723
///
724724
/// The stabilized version of this intrinsic is available on the
725725
/// `std::sync::atomic` unsigned integer types via the `fetch_min` method by passing
726726
/// [`Ordering::AcqRel`](crate::sync::atomic::Ordering::AcqRel)
727727
/// as the `order`. For example,
728-
/// [`AtomicU32::fetch_min`](../../std/sync/atomic/struct.AtomicU32.html#method.fetch_min).
728+
/// [`AtomicU32::fetch_min`](crate::sync::atomic::AtomicU32::fetch_min).
729729
pub fn atomic_umin_acqrel<T: Copy>(dst: *mut T, src: T) -> T;
730730
/// Minimum with the current value using an unsigned comparison.
731731
///
732732
/// The stabilized version of this intrinsic is available on the
733733
/// `std::sync::atomic` unsigned integer types via the `fetch_min` method by passing
734734
/// [`Ordering::Relaxed`](crate::sync::atomic::Ordering::Relaxed)
735735
/// as the `order`. For example,
736-
/// [`AtomicU32::fetch_min`](../../std/sync/atomic/struct.AtomicU32.html#method.fetch_min).
736+
/// [`AtomicU32::fetch_min`](crate::sync::atomic::AtomicU32::fetch_min).
737737
pub fn atomic_umin_relaxed<T: Copy>(dst: *mut T, src: T) -> T;
738738

739739
/// Maximum with the current value using an unsigned comparison.
@@ -742,39 +742,39 @@ extern "rust-intrinsic" {
742742
/// `std::sync::atomic` unsigned integer types via the `fetch_max` method by passing
743743
/// [`Ordering::SeqCst`](crate::sync::atomic::Ordering::SeqCst)
744744
/// as the `order`. For example,
745-
/// [`AtomicU32::fetch_max`](../../std/sync/atomic/struct.AtomicU32.html#method.fetch_max).
745+
/// [`AtomicU32::fetch_max`](crate::sync::atomic::AtomicU32::fetch_max).
746746
pub fn atomic_umax<T: Copy>(dst: *mut T, src: T) -> T;
747747
/// Maximum with the current value using an unsigned comparison.
748748
///
749749
/// The stabilized version of this intrinsic is available on the
750750
/// `std::sync::atomic` unsigned integer types via the `fetch_max` method by passing
751751
/// [`Ordering::Acquire`](crate::sync::atomic::Ordering::Acquire)
752752
/// as the `order`. For example,
753-
/// [`AtomicU32::fetch_max`](../../std/sync/atomic/struct.AtomicU32.html#method.fetch_max).
753+
/// [`AtomicU32::fetch_max`](crate::sync::atomic::AtomicU32::fetch_max).
754754
pub fn atomic_umax_acq<T: Copy>(dst: *mut T, src: T) -> T;
755755
/// Maximum with the current value using an unsigned comparison.
756756
///
757757
/// The stabilized version of this intrinsic is available on the
758758
/// `std::sync::atomic` unsigned integer types via the `fetch_max` method by passing
759759
/// [`Ordering::Release`](crate::sync::atomic::Ordering::Release)
760760
/// as the `order`. For example,
761-
/// [`AtomicU32::fetch_max`](../../std/sync/atomic/struct.AtomicU32.html#method.fetch_max).
761+
/// [`AtomicU32::fetch_max`](crate::sync::atomic::AtomicU32::fetch_max).
762762
pub fn atomic_umax_rel<T: Copy>(dst: *mut T, src: T) -> T;
763763
/// Maximum with the current value using an unsigned comparison.
764764
///
765765
/// The stabilized version of this intrinsic is available on the
766766
/// `std::sync::atomic` unsigned integer types via the `fetch_max` method by passing
767767
/// [`Ordering::AcqRel`](crate::sync::atomic::Ordering::AcqRel)
768768
/// as the `order`. For example,
769-
/// [`AtomicU32::fetch_max`](../../std/sync/atomic/struct.AtomicU32.html#method.fetch_max).
769+
/// [`AtomicU32::fetch_max`](crate::sync::atomic::AtomicU32::fetch_max).
770770
pub fn atomic_umax_acqrel<T: Copy>(dst: *mut T, src: T) -> T;
771771
/// Maximum with the current value using an unsigned comparison.
772772
///
773773
/// The stabilized version of this intrinsic is available on the
774774
/// `std::sync::atomic` unsigned integer types via the `fetch_max` method by passing
775775
/// [`Ordering::Relaxed`](crate::sync::atomic::Ordering::Relaxed)
776776
/// as the `order`. For example,
777-
/// [`AtomicU32::fetch_max`](../../std/sync/atomic/struct.AtomicU32.html#method.fetch_max).
777+
/// [`AtomicU32::fetch_max`](crate::sync::atomic::AtomicU32::fetch_max).
778778
pub fn atomic_umax_relaxed<T: Copy>(dst: *mut T, src: T) -> T;
779779

780780
/// The `prefetch` intrinsic is a hint to the code generator to insert a prefetch instruction

0 commit comments

Comments
 (0)