Corrects a typo in rustdoc documentation.
Fixes rust-lang#70856
This commit is contained in:
parent
42abbd8878
commit
d55c3998e0
@ -352,9 +352,9 @@ are added.
|
|||||||
/// ```
|
/// ```
|
||||||
```
|
```
|
||||||
|
|
||||||
`edition2018` tells `rustdoc` that the code sample should be compiled the 2018
|
`edition2018` tells `rustdoc` that the code sample should be compiled using
|
||||||
edition of Rust. Similarly, you can specify `edition2015` to compile the code
|
the 2018 edition of Rust. Similarly, you can specify `edition2015` to compile
|
||||||
with the 2015 edition.
|
the code with the 2015 edition.
|
||||||
|
|
||||||
## Syntax reference
|
## Syntax reference
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user