about summary refs log tree commit diff
path: root/src/libcore/sync
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-05-15 20:13:41 +0530
committerManish Goregaokar <manishsmail@gmail.com>2016-05-15 20:13:41 +0530
commit0ceb0730385a2c1e27cd0d266c812abade8b5c5a (patch)
tree7f372f0a76e6a5f4ac4c1c5c24675c5fc14a7a60 /src/libcore/sync
parent0f4f51b1738c88fedf0f3e56eb4341752dd64851 (diff)
parent66404f34d255eb7304a6ecf8350589684e62951d (diff)
downloadrust-0ceb0730385a2c1e27cd0d266c812abade8b5c5a.tar.gz
rust-0ceb0730385a2c1e27cd0d266c812abade8b5c5a.zip
Rollup merge of #33534 - dns2utf8:atomic_docs, r=GuillaumeGomez
Simplify text

This way it should be clear: Any number of other threads have this guaranty not just one other thread.
Diffstat (limited to 'src/libcore/sync')
-rw-r--r--src/libcore/sync/atomic.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/sync/atomic.rs b/src/libcore/sync/atomic.rs
index 49b923286d8..52ba8d9a631 100644
--- a/src/libcore/sync/atomic.rs
+++ b/src/libcore/sync/atomic.rs
@@ -142,13 +142,13 @@ pub enum Ordering {
     #[stable(feature = "rust1", since = "1.0.0")]
     Relaxed,
     /// When coupled with a store, all previous writes become visible
-    /// to another thread that performs a load with `Acquire` ordering
+    /// to the other threads that perform a load with `Acquire` ordering
     /// on the same value.
     #[stable(feature = "rust1", since = "1.0.0")]
     Release,
     /// When coupled with a load, all subsequent loads will see data
     /// written before a store with `Release` ordering on the same value
-    /// in another thread.
+    /// in other threads.
     #[stable(feature = "rust1", since = "1.0.0")]
     Acquire,
     /// When coupled with a load, uses `Acquire` ordering, and with a store