diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2016-02-14 03:59:09 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2016-02-14 05:06:32 +0530 |
| commit | 1c5c2f548e419191f499f78efdc49840dba6508e (patch) | |
| tree | f5d2dbeab7d13e7a5f99c11a8fe6bc5c87dd2e2a | |
| parent | 3c845fe8694d39818a4f921cfada39bacfb91804 (diff) | |
| parent | cff81d724fa73003fe7e589a9433db33dde742a6 (diff) | |
Rollup merge of #31537 - ollie27:book_doc_example, r=steveklabnik
The code sections shouldn't be inside a ```text block. r? @steveklabnik
| -rw-r--r-- | src/doc/book/documentation.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/book/documentation.md b/src/doc/book/documentation.md index ede3100194e..8d1e58ac173 100644 --- a/src/doc/book/documentation.md +++ b/src/doc/book/documentation.md @@ -319,7 +319,7 @@ our source code: ```text First, we set `x` to five: - ```text + ```rust let x = 5; # let y = 6; # println!("{}", x + y); @@ -327,7 +327,7 @@ our source code: Next, we set `y` to six: - ```text + ```rust # let x = 5; let y = 6; # println!("{}", x + y); @@ -335,7 +335,7 @@ our source code: Finally, we print the sum of `x` and `y`: - ```text + ```rust # let x = 5; # let y = 6; println!("{}", x + y); |
