mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
Fix formatting in the documentation for AtomicIsize::compare_exchange_weak
This commit is contained in:
parent
30a3849f22
commit
e72c8fb754
@ -695,7 +695,7 @@ impl AtomicIsize {
|
||||
unsafe { atomic_compare_exchange(self.v.get(), current, new, success, failure) }
|
||||
}
|
||||
|
||||
/// Stores a value into the `isize if the current value is the same as the `current` value.
|
||||
/// Stores a value into the `isize` if the current value is the same as the `current` value.
|
||||
///
|
||||
/// Unlike `compare_exchange`, this function is allowed to spuriously fail even when the
|
||||
/// comparison succeeds, which can result in more efficient code on some platforms. The
|
||||
|
Loading…
Reference in New Issue
Block a user