Skip to content

Commit

Permalink
Merge pull request rust-lang#3017 from matthiaskrgr/typo
Browse files Browse the repository at this point in the history
cargo fmt: fix typo in format_crate(): (verison -> version)
  • Loading branch information
topecongiro authored Sep 18, 2018
2 parents 01c14a2 + 5947ea6 commit abe1e60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo-fmt/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ fn format_crate(
let rustfmt_args = get_fmt_args();
let targets = if rustfmt_args
.iter()
.any(|s| ["--print-config", "-h", "--help", "-V", "--verison"].contains(&s.as_str()))
.any(|s| ["--print-config", "-h", "--help", "-V", "--version"].contains(&s.as_str()))
{
HashSet::new()
} else {
Expand Down

0 comments on commit abe1e60

Please sign in to comment.