fix: make --edition 2021 visible in --help

This commit is contained in:
Outvi V 2021-07-22 21:24:07 +08:00 committed by Caleb Cartwright
parent 778f03530f
commit e7fa07036f

View File

@ -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",