diff options
| author | Outvi V <19144373+outloudvi@users.noreply.github.com> | 2021-07-22 21:24:07 +0800 |
|---|---|---|
| committer | Caleb Cartwright <calebcartwright@users.noreply.github.com> | 2021-07-27 19:50:11 -0500 |
| commit | e7fa07036fa3e87f536fa3bedd3daad51dfeaf16 (patch) | |
| tree | 74306109ad7b40cb6974f971adf730143ce3419a | |
| parent | 778f03530f8fba92ae0d87644b8cef71d351a859 (diff) | |
| download | rust-e7fa07036fa3e87f536fa3bedd3daad51dfeaf16.tar.gz rust-e7fa07036fa3e87f536fa3bedd3daad51dfeaf16.zip | |
fix: make --edition 2021 visible in --help
| -rw-r--r-- | src/bin/main.rs | 2 |
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", |
