]> git.lizzy.rs Git - rust.git/commitdiff
Change fenced code block type in rustdoc book
authorTimothée Gerber <contact@timotheegerber.fr>
Sat, 14 Mar 2020 22:31:34 +0000 (23:31 +0100)
committerTimothée Gerber <contact@timotheegerber.fr>
Sat, 14 Mar 2020 22:31:34 +0000 (23:31 +0100)
src/doc/rustdoc/src/documentation-tests.md

index 96fa4344b04b726525805979156a6a12ba25219a..78181156e250f50cbfabf2e9e67ff49b9e230c6e 100644 (file)
@@ -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");