Skip to content

Commit eb203d5

Browse files
committed
Adjust wording #40301
1 parent 0644773 commit eb203d5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/doc/book/src/documentation.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,6 @@ more than one section:
170170
# fn foo() {}
171171
```
172172

173-
Let's discuss the details of these code blocks.
174-
175173
#### Code block annotations
176174

177175
To write some Rust code in a comment, use the triple graves:
@@ -183,6 +181,9 @@ To write some Rust code in a comment, use the triple graves:
183181
# fn foo() {}
184182
```
185183

184+
This will add code highlighting. If you are only showing plain text, put `text`
185+
instead of `rust` after the triple graves (see below).
186+
186187
## Documentation as tests
187188

188189
Let's discuss our sample example documentation:

0 commit comments

Comments
 (0)