about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTimothée Gerber <contact@timotheegerber.fr>2020-03-14 23:31:34 +0100
committerTimothée Gerber <contact@timotheegerber.fr>2020-03-14 23:31:34 +0100
commit131433a2c0bb67d84671c7a97eeddfbc6983b913 (patch)
tree3afcc597d2a410895a99af1e6131ea5ba433c15c
parent68dc24fcbebbd529e44d9ecba9bcdeff68268555 (diff)
downloadrust-131433a2c0bb67d84671c7a97eeddfbc6983b913.tar.gz
rust-131433a2c0bb67d84671c7a97eeddfbc6983b913.zip
Change fenced code block type in rustdoc book
-rw-r--r--src/doc/rustdoc/src/documentation-tests.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustdoc/src/documentation-tests.md b/src/doc/rustdoc/src/documentation-tests.md
index 96fa4344b04..78181156e25 100644
--- a/src/doc/rustdoc/src/documentation-tests.md
+++ b/src/doc/rustdoc/src/documentation-tests.md
@@ -314,7 +314,7 @@ only shows the part you care about.
 `should_panic` tells `rustdoc` that the code should compile correctly, but
 not actually pass as a test.
 
-```text
+```rust
 /// ```no_run
 /// loop {
 ///     println!("Hello, world");