Skip to content

Commit

Permalink
Merge pull request #1026 from GuillaumeGomez/rustdoc-errors
Browse files Browse the repository at this point in the history
Fix rustdoc errors
  • Loading branch information
frewsxcv authored Feb 17, 2018
2 parents 919980b + 6eb016d commit d7f8237
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/hello/print/print_display.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ each requires its own implementation. This is detailed further in
After checking the output of the above example, use the `Point2D` struct as
guide to add a Complex struct to the example. When printed in the same
way, the output should be:
```

```txt
Display: 3.3 +7.2i
Debug: Complex { real: 3.3, imag: 7.2 }
```
Expand Down
3 changes: 2 additions & 1 deletion src/macros/variadics.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ fn main() {
```

Output:
```

```txt
1 + 2 = 3
3 + 4 = 7
(2 * 3) + 1 = 7
Expand Down

0 comments on commit d7f8237

Please sign in to comment.