From d55c3998e07032d01e6e68874f9f7e66b2866081 Mon Sep 17 00:00:00 2001 From: Theo Sandstrom Date: Tue, 7 Apr 2020 18:23:49 -0400 Subject: [PATCH] Corrects a typo in rustdoc documentation. Fixes rust-lang#70856 --- src/doc/rustdoc/src/documentation-tests.md | 6 +++--- 1 file 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