Skip to content

Commit 012b1dd

Browse files
committed
transpile: remove a redundant & in fn invoke_refactor
1 parent 4998502 commit 012b1dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c2rust-transpile/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ fn get_extra_args_macos() -> Vec<String> {
467467
fn invoke_refactor(build_dir: &Path) -> Result<(), Error> {
468468
// Make sure the crate builds cleanly
469469
let status = Command::new("cargo")
470-
.args(&["check"])
470+
.args(["check"])
471471
.env("RUSTFLAGS", "-Awarnings")
472472
.current_dir(build_dir)
473473
.status()?;

0 commit comments

Comments
 (0)