From 6eb016d1df7ba938498be42bb70346bf97021321 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sat, 17 Feb 2018 11:04:22 +0100 Subject: [PATCH] Fix rustdoc errors --- src/hello/print/print_display.md | 3 ++- src/macros/variadics.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/hello/print/print_display.md b/src/hello/print/print_display.md index 90385aac66..5bf4460514 100644 --- a/src/hello/print/print_display.md +++ b/src/hello/print/print_display.md @@ -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 } ``` diff --git a/src/macros/variadics.md b/src/macros/variadics.md index 5de3a52d34..e0cb1c1239 100644 --- a/src/macros/variadics.md +++ b/src/macros/variadics.md @@ -33,7 +33,8 @@ fn main() { ``` Output: -``` + +```txt 1 + 2 = 3 3 + 4 = 7 (2 * 3) + 1 = 7