Skip to content

Commit fe39c0c

Browse files
committed
Fix a typo
1 parent c1e8979 commit fe39c0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/rustfmt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ impl CliOptions {
6868
let mut options = CliOptions::default();
6969
options.skip_children = matches.opt_present("skip-children");
7070
options.verbose = matches.opt_present("verbose");
71-
let unstable_features = matches.opt_present("unstable_features");
71+
let unstable_features = matches.opt_present("unstable-features");
7272
let rust_nightly = option_env!("CFG_RELEASE_CHANNEL")
7373
.map(|c| c == "nightly")
7474
.unwrap_or(false);

0 commit comments

Comments
 (0)