From 5b109a175459e6428dafdd6aa5bedc6f598a3dff Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Fri, 11 Apr 2014 20:18:19 +1000 Subject: 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. --- src/libstd/sync/atomics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/sync') 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 { /// /// 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, -- cgit 1.4.1-3-g733a5