about summary refs log tree commit diff
path: root/src/libcore/sync
diff options
context:
space:
mode:
authorAndrii Dmytrenko <refresh.xss@gmail.com>2016-08-11 11:29:16 +0100
committerAndrii Dmytrenko <refresh.xss@gmail.com>2016-08-11 11:41:44 +0100
commit4b54dd7fd9832beaf2b182d1a9be46b2e9a83e7e (patch)
tree304c5c0ea7313bc57c403e525a1d459499088189 /src/libcore/sync
parent1222f5d52ba0586d67c32a5bc4a3097eb9574aae (diff)
downloadrust-4b54dd7fd9832beaf2b182d1a9be46b2e9a83e7e.tar.gz
rust-4b54dd7fd9832beaf2b182d1a9be46b2e9a83e7e.zip
Use an existing constant name as an example.
Diffstat (limited to 'src/libcore/sync')
-rw-r--r--src/libcore/sync/atomic.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/sync/atomic.rs b/src/libcore/sync/atomic.rs
index 2a7a0b62329..5701a89d8bc 100644
--- a/src/libcore/sync/atomic.rs
+++ b/src/libcore/sync/atomic.rs
@@ -32,7 +32,7 @@
 //! atomically-reference-counted shared pointer).
 //!
 //! Most atomic types may be stored in static variables, initialized using
-//! the provided static initializers like `INIT_ATOMIC_BOOL`. Atomic statics
+//! the provided static initializers like `ATOMIC_BOOL_INIT`. Atomic statics
 //! are often used for lazy global initialization.
 //!
 //!