Skip to content

Commit 131433a

Browse files
Change fenced code block type in rustdoc book
1 parent 68dc24f commit 131433a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/rustdoc/src/documentation-tests.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ only shows the part you care about.
314314
`should_panic` tells `rustdoc` that the code should compile correctly, but
315315
not actually pass as a test.
316316

317-
```text
317+
```rust
318318
/// ```no_run
319319
/// loop {
320320
/// println!("Hello, world");

0 commit comments

Comments
 (0)