about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJon Gjengset <jon@thesquareplanet.com>2017-04-07 09:11:07 -0400
committerJon Gjengset <jon@thesquareplanet.com>2017-04-07 09:11:07 -0400
commit8fc3ab20b01044cfebfcd963ef7b69cdb11381b2 (patch)
treed99b2d9867cca2551e3f8900dcaa98a611679bbe
parent5202ac57531ca42d26a778d99165f22db3c61632 (diff)
downloadrust-8fc3ab20b01044cfebfcd963ef7b69cdb11381b2.tar.gz
rust-8fc3ab20b01044cfebfcd963ef7b69cdb11381b2.zip
rustdoc needs space after # to ignore
-rw-r--r--src/doc/unstable-book/src/compiler-barriers.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/doc/unstable-book/src/compiler-barriers.md b/src/doc/unstable-book/src/compiler-barriers.md
index 3108494aa79..df0e20eefad 100644
--- a/src/doc/unstable-book/src/compiler-barriers.md
+++ b/src/doc/unstable-book/src/compiler-barriers.md
@@ -35,9 +35,9 @@ core). In traditional programs, this can only occur when a signal
 handler is registered. Consider the following code:
 
 ```rust
-#use std::sync::atomic::{AtomicBool, AtomicUsize};
-#use std::sync::atomic::{ATOMIC_BOOL_INIT, ATOMIC_USIZE_INIT};
-#use std::sync::atomic::Ordering;
+# use std::sync::atomic::{AtomicBool, AtomicUsize};
+# use std::sync::atomic::{ATOMIC_BOOL_INIT, ATOMIC_USIZE_INIT};
+# use std::sync::atomic::Ordering;
 static IMPORTANT_VARIABLE: AtomicUsize = ATOMIC_USIZE_INIT;
 static IS_READY: AtomicBool = ATOMIC_BOOL_INIT;
 
@@ -65,9 +65,9 @@ Using a `compiler_barrier`, we can remedy this situation:
 
 ```rust
 #![feature(compiler_barriers)]
-#use std::sync::atomic::{AtomicBool, AtomicUsize};
-#use std::sync::atomic::{ATOMIC_BOOL_INIT, ATOMIC_USIZE_INIT};
-#use std::sync::atomic::Ordering;
+# use std::sync::atomic::{AtomicBool, AtomicUsize};
+# use std::sync::atomic::{ATOMIC_BOOL_INIT, ATOMIC_USIZE_INIT};
+# use std::sync::atomic::Ordering;
 use std::sync::atomic::compiler_barrier;
 
 static IMPORTANT_VARIABLE: AtomicUsize = ATOMIC_USIZE_INIT;