We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent deae8de commit 23013c7Copy full SHA for 23013c7
src/libcore/sync/atomic.rs
@@ -207,7 +207,9 @@ pub enum Ordering {
207
Acquire,
208
/// Has the effects of both [`Acquire`] and [`Release`] together.
209
///
210
- /// If you only are concerned about a load or a store, consider using one of those instead.
+ /// 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
/// [`Release`]: http://llvm.org/docs/Atomics.html#release
0 commit comments