about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOutvi V <19144373+outloudvi@users.noreply.github.com>2021-07-22 21:24:07 +0800
committerCaleb Cartwright <calebcartwright@users.noreply.github.com>2021-07-27 19:50:11 -0500
commite7fa07036fa3e87f536fa3bedd3daad51dfeaf16 (patch)
tree74306109ad7b40cb6974f971adf730143ce3419a
parent778f03530f8fba92ae0d87644b8cef71d351a859 (diff)
downloadrust-e7fa07036fa3e87f536fa3bedd3daad51dfeaf16.tar.gz
rust-e7fa07036fa3e87f536fa3bedd3daad51dfeaf16.zip
fix: make --edition 2021 visible in --help
-rw-r--r--src/bin/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/main.rs b/src/bin/main.rs
index 4b4aa42d935..1bcc5c0dada 100644
--- a/src/bin/main.rs
+++ b/src/bin/main.rs
@@ -121,7 +121,7 @@ fn make_opts() -> Options {
          found reverts to the input file path",
         "[Path for the configuration file]",
     );
-    opts.optopt("", "edition", "Rust edition to use", "[2015|2018]");
+    opts.optopt("", "edition", "Rust edition to use", "[2015|2018|2021]");
     opts.optopt(
         "",
         "color",