about summary refs log tree commit diff
path: root/src/libcore/sync
diff options
context:
space:
mode:
authorGeoff Yoerger <geoffreyiy1@gmail.com>2017-01-19 20:38:26 -0600
committerGitHub <noreply@github.com>2017-01-19 20:38:26 -0600
commitb4192aa4dfe99c1fe605fd169d7cef4fd972bea9 (patch)
treede7b3c4aececa4ca80193005104cb5f6d4be6b0a /src/libcore/sync
parentf0b42075981d9914c39e848377a3e12f0adf37d7 (diff)
downloadrust-b4192aa4dfe99c1fe605fd169d7cef4fd972bea9.tar.gz
rust-b4192aa4dfe99c1fe605fd169d7cef4fd972bea9.zip
Module level doc
Diffstat (limited to 'src/libcore/sync')
-rw-r--r--src/libcore/sync/atomic.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcore/sync/atomic.rs b/src/libcore/sync/atomic.rs
index 75205794471..484e1181dd2 100644
--- a/src/libcore/sync/atomic.rs
+++ b/src/libcore/sync/atomic.rs
@@ -21,9 +21,10 @@
 //!
 //! Each method takes an `Ordering` which represents the strength of
 //! the memory barrier for that operation. These orderings are the
-//! same as [LLVM atomic orderings][1].
+//! same as [LLVM atomic orderings][1]. For more information see the [nomicon][2]
 //!
 //! [1]: http://llvm.org/docs/LangRef.html#memory-model-for-concurrent-operations
+//! [2]: https://doc.rust-lang.org/nomicon/atomics.html
 //!
 //! Atomic variables are safe to share between threads (they implement `Sync`)
 //! but they do not themselves provide the mechanism for sharing and follow the