diff options
| author | Theo Sandstrom <theo.j.sandstrom@gmail.com> | 2020-04-07 18:23:49 -0400 |
|---|---|---|
| committer | Theo Sandstrom <theo.j.sandstrom@gmail.com> | 2020-04-07 18:37:35 -0400 |
| commit | d55c3998e07032d01e6e68874f9f7e66b2866081 (patch) | |
| tree | dc2562d97ae977a359b3f2fd7f7481bfbec0fc6f /src/doc | |
| parent | 42abbd8878d3b67238f3611b0587c704ba94f39c (diff) | |
Corrects a typo in rustdoc documentation.
Fixes rust-lang#70856
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/rustdoc/src/documentation-tests.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/rustdoc/src/documentation-tests.md b/src/doc/rustdoc/src/documentation-tests.md index 78181156e25..efadae1c5fb 100644 --- a/src/doc/rustdoc/src/documentation-tests.md +++ b/src/doc/rustdoc/src/documentation-tests.md @@ -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 |
