We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fc9dfda + 23013c7 commit 9e4d5cfCopy full SHA for 9e4d5cf
src/libcore/sync/atomic.rs
@@ -205,8 +205,11 @@ pub enum Ordering {
205
/// [`Release`]: http://llvm.org/docs/Atomics.html#release
206
#[stable(feature = "rust1", since = "1.0.0")]
207
Acquire,
208
- /// When coupled with a load, uses [`Acquire`] ordering, and with a store
209
- /// [`Release`] ordering.
+ /// Has the effects of both [`Acquire`] and [`Release`] together.
+ ///
210
+ /// This ordering is only applicable for operations that combine both loads and stores.
211
212
+ /// For loads it uses [`Acquire`] ordering. For stores it uses the [`Release`] ordering.
213
///
214
/// [`Acquire`]: http://llvm.org/docs/Atomics.html#acquire
215
0 commit comments