about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-04-01 18:44:49 +0530
committerManish Goregaokar <manishsmail@gmail.com>2016-04-01 18:44:49 +0530
commitc2fe137823d78f5741e8a9289f322efbb398bdb7 (patch)
tree6f3ea08c2f29d334ecb8548f7e5fc822514a14f3
parenta72568efb61f7b8096a3460295f6174a04224728 (diff)
parente72c8fb754658b5d0cfcefbd1443d9d0911f244e (diff)
downloadrust-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.rs2
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