File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -279,6 +279,8 @@ println!("{}", x + y);
279279
280280Here's an explanation, rendered:
281281
282+ -------------------------------------------------------------------------------
283+
282284First, we set ` x ` to five:
283285
284286``` rust
@@ -303,8 +305,12 @@ Finally, we print the sum of `x` and `y`:
303305println! (" {}" , x + y );
304306```
305307
308+ -------------------------------------------------------------------------------
309+
306310Here's the same explanation, in raw text:
307311
312+ -------------------------------------------------------------------------------
313+
308314> First, we set ` x ` to five:
309315>
310316> ``` text
@@ -329,6 +335,8 @@ Here's the same explanation, in raw text:
329335> println!("{}", x + y);
330336> ```
331337
338+ -------------------------------------------------------------------------------
339+
332340By repeating all parts of the example, you can ensure that your example still
333341compiles, while only showing the parts that are relevant to that part of your
334342explanation.
You can’t perform that action at this time.
0 commit comments