Skip to content

Commit d7f8237

Browse files
authored
Merge pull request #1026 from GuillaumeGomez/rustdoc-errors
Fix rustdoc errors
2 parents 919980b + 6eb016d commit d7f8237

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/hello/print/print_display.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ each requires its own implementation. This is detailed further in
110110
After checking the output of the above example, use the `Point2D` struct as
111111
guide to add a Complex struct to the example. When printed in the same
112112
way, the output should be:
113-
```
113+
114+
```txt
114115
Display: 3.3 +7.2i
115116
Debug: Complex { real: 3.3, imag: 7.2 }
116117
```

src/macros/variadics.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ fn main() {
3333
```
3434

3535
Output:
36-
```
36+
37+
```txt
3738
1 + 2 = 3
3839
3 + 4 = 7
3940
(2 * 3) + 1 = 7

0 commit comments

Comments
 (0)