summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/check-fmt.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/tests/check-fmt.rs')
-rw-r--r--src/tools/clippy/tests/check-fmt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/clippy/tests/check-fmt.rs b/src/tools/clippy/tests/check-fmt.rs
index 0defd45b6..e106583de 100644
--- a/src/tools/clippy/tests/check-fmt.rs
+++ b/src/tools/clippy/tests/check-fmt.rs
@@ -13,7 +13,7 @@ fn fmt() {
let root_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
let output = Command::new("cargo")
.current_dir(root_dir)
- .args(&["dev", "fmt", "--check"])
+ .args(["dev", "fmt", "--check"])
.output()
.unwrap();