]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/tests/check-fmt.rs
Rollup merge of #105567 - TimNN:kcfi16, r=nikic
[rust.git] / src / tools / clippy / tests / check-fmt.rs
index 0defd45b68b064745537b02321f5bb2b56c688aa..e106583de4a2eb0a099d145cafe71b60453c2ef2 100644 (file)
@@ -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();