From e72c8fb754658b5d0cfcefbd1443d9d0911f244e Mon Sep 17 00:00:00 2001 From: Amanieu d'Antras Date: Thu, 31 Mar 2016 13:13:53 +0100 Subject: Fix formatting in the documentation for AtomicIsize::compare_exchange_weak --- src/libcore/sync/atomic.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libcore/sync') 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 -- cgit 1.4.1-3-g733a5