Skip to content

Commit dc9c17a

Browse files
outloudvicalebcartwright
authored andcommitted
fix: make --edition 2021 visible in --help
1 parent 541aeba commit dc9c17a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/bin/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ fn make_opts() -> Options {
121121
found reverts to the input file path",
122122
"[Path for the configuration file]",
123123
);
124-
opts.optopt("", "edition", "Rust edition to use", "[2015|2018]");
124+
opts.optopt("", "edition", "Rust edition to use", "[2015|2018|2021]");
125125
opts.optopt(
126126
"",
127127
"color",

0 commit comments

Comments
 (0)