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);
279
279
280
280
Here's an explanation, rendered:
281
281
282
+ -------------------------------------------------------------------------------
283
+
282
284
First, we set ` x ` to five:
283
285
284
286
``` rust
@@ -303,8 +305,12 @@ Finally, we print the sum of `x` and `y`:
303
305
println! (" {}" , x + y );
304
306
```
305
307
308
+ -------------------------------------------------------------------------------
309
+
306
310
Here's the same explanation, in raw text:
307
311
312
+ -------------------------------------------------------------------------------
313
+
308
314
> First, we set ` x ` to five:
309
315
>
310
316
> ``` text
@@ -329,6 +335,8 @@ Here's the same explanation, in raw text:
329
335
> println!("{}", x + y);
330
336
> ```
331
337
338
+ -------------------------------------------------------------------------------
339
+
332
340
By repeating all parts of the example, you can ensure that your example still
333
341
compiles, while only showing the parts that are relevant to that part of your
334
342
explanation.
You can’t perform that action at this time.
0 commit comments