about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2015-10-02 20:38:23 -0400
committerSteve Klabnik <steve@steveklabnik.com>2015-10-02 20:38:23 -0400
commit92cff9f0d9aa1c76d57060c21520624d729416ca (patch)
tree66227fbabf394ba056f5f41cb534f5834e072867 /src
parent323037d7e73b50d1a0a656351341c98caf4453c6 (diff)
parentf528c47c4bb836dd7277dc7ce138a41d175e1dd3 (diff)
downloadrust-92cff9f0d9aa1c76d57060c21520624d729416ca.tar.gz
rust-92cff9f0d9aa1c76d57060c21520624d729416ca.zip
Rollup merge of #28819 - steveklabnik:doc_hr, r=brson
It's not really clear here, since the example is rendered, where it
starts and ends. So let's use <hr>s to split it up.
Diffstat (limited to 'src')
-rw-r--r--src/doc/trpl/documentation.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/doc/trpl/documentation.md b/src/doc/trpl/documentation.md
index 5afb9b7f868..1e1b2e2d458 100644
--- a/src/doc/trpl/documentation.md
+++ b/src/doc/trpl/documentation.md
@@ -279,6 +279,8 @@ println!("{}", x + y);
 
 Here's an explanation, rendered:
 
+-------------------------------------------------------------------------------
+
 First, we set `x` to five:
 
 ```rust
@@ -303,8 +305,12 @@ Finally, we print the sum of `x` and `y`:
 println!("{}", x + y);
 ```
 
+-------------------------------------------------------------------------------
+
 Here's the same explanation, in raw text:
 
+-------------------------------------------------------------------------------
+
 > First, we set `x` to five:
 >
 > ```text
@@ -329,6 +335,8 @@ Here's the same explanation, in raw text:
 > println!("{}", x + y);
 > ```
 
+-------------------------------------------------------------------------------
+
 By repeating all parts of the example, you can ensure that your example still
 compiles, while only showing the parts that are relevant to that part of your
 explanation.