]> git.lizzy.rs Git - rust.git/commitdiff
Corrects a typo in rustdoc documentation.
authorTheo Sandstrom <theo.j.sandstrom@gmail.com>
Tue, 7 Apr 2020 22:23:49 +0000 (18:23 -0400)
committerTheo Sandstrom <theo.j.sandstrom@gmail.com>
Tue, 7 Apr 2020 22:37:35 +0000 (18:37 -0400)
Fixes rust-lang#70856

src/doc/rustdoc/src/documentation-tests.md

index 78181156e250f50cbfabf2e9e67ff49b9e230c6e..efadae1c5fb9d078f95828120999800f0084ceea 100644 (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