diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2016-04-01 18:44:49 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2016-04-01 18:44:49 +0530 |
| commit | c2fe137823d78f5741e8a9289f322efbb398bdb7 (patch) | |
| tree | 6f3ea08c2f29d334ecb8548f7e5fc822514a14f3 | |
| parent | a72568efb61f7b8096a3460295f6174a04224728 (diff) | |
| parent | e72c8fb754658b5d0cfcefbd1443d9d0911f244e (diff) | |
| download | rust-c2fe137823d78f5741e8a9289f322efbb398bdb7.tar.gz rust-c2fe137823d78f5741e8a9289f322efbb398bdb7.zip | |
Rollup merge of #32642 - Amanieu:doc_fixes, r=apasel422
Fix formatting in the documentation for AtomicIsize::compare_exchange_weak
| -rw-r--r-- | src/libcore/sync/atomic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/sync/atomic.rs b/src/libcore/sync/atomic.rs index 7ae129eaf48..d2e98a795d9 100644 --- a/src/libcore/sync/atomic.rs +++ b/src/libcore/sync/atomic.rs @@ -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 |
