diff options
| author | mandeep <mandeep@users.noreply.github.com> | 2018-05-18 10:06:20 -0500 |
|---|---|---|
| committer | mandeep <mandeep@users.noreply.github.com> | 2018-05-18 10:06:38 -0500 |
| commit | 8d74cf870557b42902274f5b898f8aa3117eb47c (patch) | |
| tree | 5c72b9aba2d39d9b7ee9472f48ba443f9a6c0eac /src/doc/rustdoc | |
| parent | 6dc824257ad36ce44cd41340a1b0cd87b78dfaf7 (diff) | |
| download | rust-8d74cf870557b42902274f5b898f8aa3117eb47c.tar.gz rust-8d74cf870557b42902274f5b898f8aa3117eb47c.zip | |
Add println statement to rendered code block example
Diffstat (limited to 'src/doc/rustdoc')
| -rw-r--r-- | src/doc/rustdoc/src/documentation-tests.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/doc/rustdoc/src/documentation-tests.md b/src/doc/rustdoc/src/documentation-tests.md index eb5c53f899b..2941ae16a58 100644 --- a/src/doc/rustdoc/src/documentation-tests.md +++ b/src/doc/rustdoc/src/documentation-tests.md @@ -89,6 +89,7 @@ It will render like this: ```rust /// Some documentation. # fn foo() {} +println!("Hello, World!"); ``` Yes, that's right: you can add lines that start with `# `, and they will |
