Skip to content

Commit

Permalink
update wording as per feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
steveklabnik authored Mar 25, 2018
1 parent deae8de commit 23013c7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/libcore/sync/atomic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,9 @@ pub enum Ordering {
Acquire,
/// Has the effects of both [`Acquire`] and [`Release`] together.
///
/// 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.
///
/// For loads it uses [`Acquire`] ordering. For stores it uses the [`Release`] ordering.
///
/// [`Acquire`]: http://llvm.org/docs/Atomics.html#acquire
/// [`Release`]: http://llvm.org/docs/Atomics.html#release
Expand Down

0 comments on commit 23013c7

Please sign in to comment.