about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorOliver Middleton <olliemail27@gmail.com>2017-04-06 12:57:40 +0100
committerOliver Middleton <olliemail27@gmail.com>2017-04-06 12:57:40 +0100
commitb4be4758361bf1b03410a523e8672b1c1fa7d385 (patch)
treede2eb5ad9c527ac1d0ee2a6dfb7b88a0d64eb0b6 /src/libcore
parente5e92753cc3e12c3c468b6badaf340fe4443145c (diff)
Fix Markdown issues in the docs
* Since the switch to pulldown-cmark reference links need a blank line
before the URLs.
* Reference link references are not case sensitive.
* Doc comments need to be indented uniformly otherwise rustdoc gets
confused.
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/sync/atomic.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libcore/sync/atomic.rs b/src/libcore/sync/atomic.rs
index 4e5ddfb541e..2e1058bfc34 100644
--- a/src/libcore/sync/atomic.rs
+++ b/src/libcore/sync/atomic.rs
@@ -153,8 +153,9 @@ unsafe impl<T> Sync for AtomicPtr<T> {}
 /// Rust's memory orderings are [the same as
 /// LLVM's](http://llvm.org/docs/LangRef.html#memory-model-for-concurrent-operations).
 ///
-/// For more information see the [nomicon][1].
-/// [1]: ../../../nomicon/atomics.html
+/// For more information see the [nomicon].
+///
+/// [nomicon]: ../../../nomicon/atomics.html
 #[stable(feature = "rust1", since = "1.0.0")]
 #[derive(Copy, Clone, Debug)]
 pub enum Ordering {