Skip to content

Commit f815812

Browse files
committed
book: there are 4 special sections
1 parent 1671b9b commit f815812

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/trpl/documentation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ we could have added more explanation in a new paragraph.
107107
```
108108

109109
Next, are special sections. These are indicated with a header, `#`. There
110-
are three kinds of headers that are commonly used. They aren't special syntax,
110+
are four kinds of headers that are commonly used. They aren't special syntax,
111111
just convention, for now.
112112

113113
```rust
@@ -149,7 +149,7 @@ responsible for upholding.
149149
# fn foo() {}
150150
```
151151

152-
Third, `Examples`. Include one or more examples of using your function or
152+
Fourth, `Examples`. Include one or more examples of using your function or
153153
method, and your users will love you for it. These examples go inside of
154154
code block annotations, which we'll talk about in a moment, and can have
155155
more than one section:

0 commit comments

Comments
 (0)