We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfa9736 commit c0a5b99Copy full SHA for c0a5b99
src/libcore/sync/atomic.rs
@@ -140,10 +140,6 @@ unsafe impl<T> Sync for AtomicPtr<T> {}
140
/// to be moved either before or after the atomic operation; on the other end
141
/// "relaxed" atomics allow all reorderings.
142
///
143
-/// If you are confused or don't have enough time to research which ordering to use, use `SeqCst`.
144
-/// Of all the options it has the most unsurpising effect (see the nomicon for details. [1])
145
-/// The downside is you miss out on several optimizations the other orderings offer.
146
-///
147
/// Rust's memory orderings are [the same as
148
/// LLVM's](http://llvm.org/docs/LangRef.html#memory-model-for-concurrent-operations).
149
0 commit comments