Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit abe1e60

Browse files
authored
Merge pull request rust-lang#3017 from matthiaskrgr/typo
cargo fmt: fix typo in format_crate(): (verison -> version)
2 parents 01c14a2 + 5947ea6 commit abe1e60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo-fmt/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ fn format_crate(
149149
let rustfmt_args = get_fmt_args();
150150
let targets = if rustfmt_args
151151
.iter()
152-
.any(|s| ["--print-config", "-h", "--help", "-V", "--verison"].contains(&s.as_str()))
152+
.any(|s| ["--print-config", "-h", "--help", "-V", "--version"].contains(&s.as_str()))
153153
{
154154
HashSet::new()
155155
} else {

0 commit comments

Comments
 (0)