about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorQuietMisdreavus <grey@quietmisdreavus.net>2018-03-12 16:15:38 -0500
committerQuietMisdreavus <grey@quietmisdreavus.net>2018-03-12 16:15:38 -0500
commitc80220436bf68dac572ee2c3d701d40f02e2eb88 (patch)
tree751a5ff0ab26f03a13d7a24750c2aa02c55cc1dd /src/doc
parent883e74645d350b6752cb94d48f46363f6f8789e9 (diff)
downloadrust-c80220436bf68dac572ee2c3d701d40f02e2eb88.tar.gz
rust-c80220436bf68dac572ee2c3d701d40f02e2eb88.zip
big fences to show that ```rust is the same as ```
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rustdoc/src/documentation-tests.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/doc/rustdoc/src/documentation-tests.md b/src/doc/rustdoc/src/documentation-tests.md
index e5a603a3709..cc7b15812ec 100644
--- a/src/doc/rustdoc/src/documentation-tests.md
+++ b/src/doc/rustdoc/src/documentation-tests.md
@@ -19,15 +19,19 @@ running `rustdoc --test foo.rs` will extract this example, and then run it as a
 Please note that by default, if no language is set for the block code, `rustdoc`
 assumes it is `Rust` code. So the following:
 
+``````markdown
 ```rust
 let x = 5;
 ```
+``````
 
 is strictly equivalent to:
 
+``````markdown
 ```
 let x = 5;
 ```
+``````
 
 There's some subtlety though! Read on for more details.