Corrects a typo in rustdoc documentation.

Fixes rust-lang#70856
This commit is contained in:
Theo Sandstrom 2020-04-07 18:23:49 -04:00
parent 42abbd8878
commit d55c3998e0

View File

@ -352,9 +352,9 @@ are added.
/// ```
```
`edition2018` tells `rustdoc` that the code sample should be compiled the 2018
edition of Rust. Similarly, you can specify `edition2015` to compile the code
with the 2015 edition.
`edition2018` tells `rustdoc` that the code sample should be compiled using
the 2018 edition of Rust. Similarly, you can specify `edition2015` to compile
the code with the 2015 edition.
## Syntax reference