Skip to content

Commit c802204

Browse files
big fences to show that rust is the same as
1 parent 883e746 commit c802204

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

+4
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,19 @@ running `rustdoc --test foo.rs` will extract this example, and then run it as a
1919
Please note that by default, if no language is set for the block code, `rustdoc`
2020
assumes it is `Rust` code. So the following:
2121

22+
``````markdown
2223
```rust
2324
let x = 5;
2425
```
26+
``````
2527

2628
is strictly equivalent to:
2729

30+
``````markdown
2831
```
2932
let x = 5;
3033
```
34+
``````
3135

3236
There's some subtlety though! Read on for more details.
3337

0 commit comments

Comments
 (0)