mirror of https://github.com/rust-lang/rust.git
Auto merge of #26509 - tshepang:4-and-not-3, r=bluss
This commit is contained in:
commit
2d0cbf3e3e
|
@ -102,7 +102,7 @@ we could have added more explanation in a new paragraph.
|
|||
#### Special sections
|
||||
|
||||
Next, are special sections. These are indicated with a header, `#`. There
|
||||
are three kinds of headers that are commonly used. They aren't special syntax,
|
||||
are four kinds of headers that are commonly used. They aren't special syntax,
|
||||
just convention, for now.
|
||||
|
||||
```rust
|
||||
|
@ -144,7 +144,7 @@ responsible for upholding.
|
|||
# fn foo() {}
|
||||
```
|
||||
|
||||
Third, `Examples`. Include one or more examples of using your function or
|
||||
Fourth, `Examples`. Include one or more examples of using your function or
|
||||
method, and your users will love you for it. These examples go inside of
|
||||
code block annotations, which we'll talk about in a moment, and can have
|
||||
more than one section:
|
||||
|
|
Loading…
Reference in New Issue