about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHTG-YT <htgazurex1212.0001@gmail.com>2021-08-18 09:05:48 +0800
committerMara Bos <m-ou.se@m-ou.se>2021-08-30 15:27:00 +0200
commit4bed11a109dbecc167298f163543ecfcd2abab63 (patch)
tree4aeff6f50236b804f0b2e2bce5dc37b802a6cf4d
parent388d90ac4cb3f646934e5fa77a1a3182a54e9846 (diff)
downloadrust-4bed11a109dbecc167298f163543ecfcd2abab63.tar.gz
rust-4bed11a109dbecc167298f163543ecfcd2abab63.zip
update rustc cmdargs markdown section
-rw-r--r--src/doc/rustc/src/command-line-arguments.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc/src/command-line-arguments.md b/src/doc/rustc/src/command-line-arguments.md
index 7d3cad7988c..7f482f0f2b1 100644
--- a/src/doc/rustc/src/command-line-arguments.md
+++ b/src/doc/rustc/src/command-line-arguments.md
@@ -93,7 +93,7 @@ This informs `rustc` of the name of your crate.
 <a id="option-edition"></a>
 ## `--edition`: specify the edition to use
 
-This flag takes a value of `2015` or `2018`. The default is `2015`. More
+This flag takes a value of `2015`, `2018` or `2021`. The default is `2015`. More
 information about editions may be found in the [edition guide].
 
 [edition guide]: ../edition-guide/introduction.html