Skip to content

Commit f25f245

Browse files
committed
Fix clippy::needless_borrow
1 parent d6995c1 commit f25f245

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xtask/src/archive.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ impl Archive {
5050
.collect::<String>();
5151

5252
let rename_path = archive.with_extension("redefine-syms");
53-
sh.write_file(&rename_path, &symbol_renames)?;
53+
sh.write_file(&rename_path, symbol_renames)?;
5454

5555
let objcopy = binutil("objcopy")?;
5656
cmd!(sh, "{objcopy} --prefix-symbols={prefix}_ {archive}").run()?;

0 commit comments

Comments
 (0)