about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-04-11 12:01:44 -0700
committerbors <bors@rust-lang.org>2014-04-11 12:01:44 -0700
commitb7e93067732ac1398a74958a3b1b0f6fa72fee8d (patch)
treead241d3f0bba0636e14e6c1c6f8c465c902674bd /src/libstd/sync
parent8b6091e8f1f5531fe907f84b6a2b27af04a95e8f (diff)
parent5b109a175459e6428dafdd6aa5bedc6f598a3dff (diff)
downloadrust-b7e93067732ac1398a74958a3b1b0f6fa72fee8d.tar.gz
rust-b7e93067732ac1398a74958a3b1b0f6fa72fee8d.zip
auto merge of #13458 : huonw/rust/doc-signatures, r=alexcrichton
Add more type signatures to the docs; tweak a few of them.

Someone reading the docs won't know what the types of various things
are, so this adds them in a few meaningful places to help with
comprehension.

cc #13423.
Diffstat (limited to 'src/libstd/sync')
-rw-r--r--src/libstd/sync/atomics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/atomics.rs b/src/libstd/sync/atomics.rs
index 71e67971b45..e6b71b502c2 100644
--- a/src/libstd/sync/atomics.rs
+++ b/src/libstd/sync/atomics.rs
@@ -157,7 +157,7 @@ pub struct AtomicOption<T> {
 ///
 /// Rust's memory orderings are the same as in C++[1].
 ///
-/// [1]: http://gcc.gnu.org/wiki/Atomic/GCCMM/AtomicSync
+/// 1: http://gcc.gnu.org/wiki/Atomic/GCCMM/AtomicSync
 pub enum Ordering {
     /// No ordering constraints, only atomic operations
     Relaxed,