big fences to show that ``rust is the same as ``
This commit is contained in:
parent
883e74645d
commit
c80220436b
1 changed files with 4 additions and 0 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue