Skip to content

Commit 114301f

Browse files
committed
Refer to LLVM rather than GCC wiki for atomic orderings
Fixes #22064.
1 parent cf636c2 commit 114301f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/atomic.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
//!
2222
//! Each method takes an `Ordering` which represents the strength of
2323
//! the memory barrier for that operation. These orderings are the
24-
//! same as [C++11 atomic orderings][1].
24+
//! same as [LLVM atomic orderings][1].
2525
//!
26-
//! [1]: http://gcc.gnu.org/wiki/Atomic/GCCMM/AtomicSync
26+
//! [1]: http://llvm.org/docs/LangRef.html#memory-model-for-concurrent-operations
2727
//!
2828
//! Atomic variables are safe to share between threads (they implement `Sync`)
2929
//! but they do not themselves provide the mechanism for sharing. The most

0 commit comments

Comments
 (0)