mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 09:38:26 +03:00
Fix tests
This commit is contained in:
@@ -149,8 +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", "--verison"].contains(&s.as_str()))
|
||||
{
|
||||
HashSet::new()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user