Skip to content

Commit 076ae25

Browse files
committed
Use intra-doc links for AtomicIsize::*
1 parent 69e5a4c commit 076ae25

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
@@ -373,39 +373,39 @@ extern "rust-intrinsic" {
373373
/// `std::sync::atomic` types via the `fetch_add` method by passing
374374
/// [`Ordering::SeqCst`](crate::sync::atomic::Ordering::SeqCst)
375375
/// as the `order`. For example,
376-
/// [`AtomicIsize::fetch_add`](../../std/sync/atomic/struct.AtomicIsize.html#method.fetch_add).
376+
/// [`AtomicIsize::fetch_add`](crate::sync::atomic::AtomicIsize::fetch_add).
377377
pub fn atomic_xadd<T: Copy>(dst: *mut T, src: T) -> T;
378378
/// Adds to the current value, returning the previous value.
379379
///
380380
/// The stabilized version of this intrinsic is available on the
381381
/// `std::sync::atomic` types via the `fetch_add` method by passing
382382
/// [`Ordering::Acquire`](crate::sync::atomic::Ordering::Acquire)
383383
/// as the `order`. For example,
384-
/// [`AtomicIsize::fetch_add`](../../std/sync/atomic/struct.AtomicIsize.html#method.fetch_add).
384+
/// [`AtomicIsize::fetch_add`](crate::sync::atomic::AtomicIsize::fetch_add).
385385
pub fn atomic_xadd_acq<T: Copy>(dst: *mut T, src: T) -> T;
386386
/// Adds to the current value, returning the previous value.
387387
///
388388
/// The stabilized version of this intrinsic is available on the
389389
/// `std::sync::atomic` types via the `fetch_add` method by passing
390390
/// [`Ordering::Release`](crate::sync::atomic::Ordering::Release)
391391
/// as the `order`. For example,
392-
/// [`AtomicIsize::fetch_add`](../../std/sync/atomic/struct.AtomicIsize.html#method.fetch_add).
392+
/// [`AtomicIsize::fetch_add`](crate::sync::atomic::AtomicIsize::fetch_add).
393393
pub fn atomic_xadd_rel<T: Copy>(dst: *mut T, src: T) -> T;
394394
/// Adds to the current value, returning the previous value.
395395
///
396396
/// The stabilized version of this intrinsic is available on the
397397
/// `std::sync::atomic` types via the `fetch_add` method by passing
398398
/// [`Ordering::AcqRel`](crate::sync::atomic::Ordering::AcqRel)
399399
/// as the `order`. For example,
400-
/// [`AtomicIsize::fetch_add`](../../std/sync/atomic/struct.AtomicIsize.html#method.fetch_add).
400+
/// [`AtomicIsize::fetch_add`](crate::sync::atomic::AtomicIsize::fetch_add).
401401
pub fn atomic_xadd_acqrel<T: Copy>(dst: *mut T, src: T) -> T;
402402
/// Adds to the current value, returning the previous value.
403403
///
404404
/// The stabilized version of this intrinsic is available on the
405405
/// `std::sync::atomic` types via the `fetch_add` method by passing
406406
/// [`Ordering::Relaxed`](crate::sync::atomic::Ordering::Relaxed)
407407
/// as the `order`. For example,
408-
/// [`AtomicIsize::fetch_add`](../../std/sync/atomic/struct.AtomicIsize.html#method.fetch_add).
408+
/// [`AtomicIsize::fetch_add`](crate::sync::atomic::AtomicIsize::fetch_add).
409409
pub fn atomic_xadd_relaxed<T: Copy>(dst: *mut T, src: T) -> T;
410410

411411
/// Subtract from the current value, returning the previous value.
@@ -414,39 +414,39 @@ extern "rust-intrinsic" {
414414
/// `std::sync::atomic` types via the `fetch_sub` method by passing
415415
/// [`Ordering::SeqCst`](crate::sync::atomic::Ordering::SeqCst)
416416
/// as the `order`. For example,
417-
/// [`AtomicIsize::fetch_sub`](../../std/sync/atomic/struct.AtomicIsize.html#method.fetch_sub).
417+
/// [`AtomicIsize::fetch_sub`](crate::sync::atomic::AtomicIsize::fetch_sub).
418418
pub fn atomic_xsub<T: Copy>(dst: *mut T, src: T) -> T;
419419
/// Subtract from the current value, returning the previous value.
420420
///
421421
/// The stabilized version of this intrinsic is available on the
422422
/// `std::sync::atomic` types via the `fetch_sub` method by passing
423423
/// [`Ordering::Acquire`](crate::sync::atomic::Ordering::Acquire)
424424
/// as the `order`. For example,
425-
/// [`AtomicIsize::fetch_sub`](../../std/sync/atomic/struct.AtomicIsize.html#method.fetch_sub).
425+
/// [`AtomicIsize::fetch_sub`](crate::sync::atomic::AtomicIsize::fetch_sub).
426426
pub fn atomic_xsub_acq<T: Copy>(dst: *mut T, src: T) -> T;
427427
/// Subtract from the current value, returning the previous value.
428428
///
429429
/// The stabilized version of this intrinsic is available on the
430430
/// `std::sync::atomic` types via the `fetch_sub` method by passing
431431
/// [`Ordering::Release`](crate::sync::atomic::Ordering::Release)
432432
/// as the `order`. For example,
433-
/// [`AtomicIsize::fetch_sub`](../../std/sync/atomic/struct.AtomicIsize.html#method.fetch_sub).
433+
/// [`AtomicIsize::fetch_sub`](crate::sync::atomic::AtomicIsize::fetch_sub).
434434
pub fn atomic_xsub_rel<T: Copy>(dst: *mut T, src: T) -> T;
435435
/// Subtract from the current value, returning the previous value.
436436
///
437437
/// The stabilized version of this intrinsic is available on the
438438
/// `std::sync::atomic` types via the `fetch_sub` method by passing
439439
/// [`Ordering::AcqRel`](crate::sync::atomic::Ordering::AcqRel)
440440
/// as the `order`. For example,
441-
/// [`AtomicIsize::fetch_sub`](../../std/sync/atomic/struct.AtomicIsize.html#method.fetch_sub).
441+
/// [`AtomicIsize::fetch_sub`](crate::sync::atomic::AtomicIsize::fetch_sub).
442442
pub fn atomic_xsub_acqrel<T: Copy>(dst: *mut T, src: T) -> T;
443443
/// Subtract from the current value, returning the previous value.
444444
///
445445
/// The stabilized version of this intrinsic is available on the
446446
/// `std::sync::atomic` types via the `fetch_sub` method by passing
447447
/// [`Ordering::Relaxed`](crate::sync::atomic::Ordering::Relaxed)
448448
/// as the `order`. For example,
449-
/// [`AtomicIsize::fetch_sub`](../../std/sync/atomic/struct.AtomicIsize.html#method.fetch_sub).
449+
/// [`AtomicIsize::fetch_sub`](crate::sync::atomic::AtomicIsize::fetch_sub).
450450
pub fn atomic_xsub_relaxed<T: Copy>(dst: *mut T, src: T) -> T;
451451

452452
/// Bitwise and with the current value, returning the previous value.

0 commit comments

Comments
 (0)