diff options
| author | LeSeulArtichaut <leseulartichaut@gmail.com> | 2020-01-30 22:45:00 +0100 |
|---|---|---|
| committer | LeSeulArtichaut <leseulartichaut@gmail.com> | 2020-02-11 22:08:20 +0100 |
| commit | abcbf7c09d50421fb790d023740108016e4114de (patch) | |
| tree | 4e8a1285a6adc73548d00b9e59536e1f0ce84253 /src/libcore/sync | |
| parent | 95e0a2c50d063bd7eb79aa55d16cd5fee715c280 (diff) | |
| download | rust-abcbf7c09d50421fb790d023740108016e4114de.tar.gz rust-abcbf7c09d50421fb790d023740108016e4114de.zip | |
Document stable versions of `f32` and `f64` intrinsics
Fix links
Diffstat (limited to 'src/libcore/sync')
| -rw-r--r-- | src/libcore/sync/atomic.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/sync/atomic.rs b/src/libcore/sync/atomic.rs index 9d449bb9915..3ba15968f89 100644 --- a/src/libcore/sync/atomic.rs +++ b/src/libcore/sync/atomic.rs @@ -2444,7 +2444,7 @@ unsafe fn atomic_min<T>(dst: *mut T, val: T, order: Ordering) -> T { } } -/// returns the max value (signed comparison) +/// returns the max value (unsigned comparison) #[inline] #[cfg(target_has_atomic = "8")] unsafe fn atomic_umax<T>(dst: *mut T, val: T, order: Ordering) -> T { @@ -2457,7 +2457,7 @@ unsafe fn atomic_umax<T>(dst: *mut T, val: T, order: Ordering) -> T { } } -/// returns the min value (signed comparison) +/// returns the min value (unsigned comparison) #[inline] #[cfg(target_has_atomic = "8")] unsafe fn atomic_umin<T>(dst: *mut T, val: T, order: Ordering) -> T { |
