Remove unnecessary indentation in rustdoc book codeblock.
This commit is contained in:
@@ -138,7 +138,7 @@ To keep each code block testable, we want the whole program in each block, but
|
||||
we don't want the reader to see every line every time. Here's what we put in
|
||||
our source code:
|
||||
|
||||
```text
|
||||
``````markdown
|
||||
First, we set `x` to five:
|
||||
|
||||
```
|
||||
@@ -162,7 +162,7 @@ our source code:
|
||||
# let y = 6;
|
||||
println!("{}", x + y);
|
||||
```
|
||||
```
|
||||
``````
|
||||
|
||||
By repeating all parts of the example, you can ensure that your example still
|
||||
compiles, while only showing the parts that are relevant to that part of your
|
||||
|
||||
Reference in New Issue
Block a user