Skip to content

Commit 45707b6

Browse files
committed
[meta] fix clippy for Rust 1.80
1 parent b62e0ac commit 45707b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

integration-tests/tests/integration/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ archive.include = [
384384

385385
// The included file should be present, but the excluded file should not.
386386
for path in [INCLUDED_PATH, TOP_LEVEL_FILE] {
387-
let contents = std::fs::read_to_string(&extracted_target.join(path))
387+
let contents = std::fs::read_to_string(extracted_target.join(path))
388388
.expect("extra file written to archive");
389389
assert_eq!(contents, "a test string");
390390
}

nextest-runner/src/test_command.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ where
130130
let cmd = if let Some(current_exe) = double_spawn.current_exe() {
131131
let mut cmd = std::process::Command::new(current_exe);
132132
cmd.args([DoubleSpawnInfo::SUBCOMMAND_NAME, "--", program.as_str()]);
133-
cmd.arg(&shell_words::join(args));
133+
cmd.arg(shell_words::join(args));
134134
cmd
135135
} else {
136136
let mut cmd = std::process::Command::new(program);

0 commit comments

Comments
 (0)