Skip to content

Commit 8682fb6

Browse files
committed
Addressed clippy warnings
1 parent 5c31c72 commit 8682fb6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

test/cargo_build_script/tools_exec.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ pub fn test_tool_exec() {
33
let tool_path = env!("TOOL_PATH");
44
assert!(
55
tool_path.contains("-exec-"),
6-
"tool_path did not contain '-exec-': {}",
7-
tool_path
6+
"tool_path did not contain '-exec-'",
87
);
98
}

test/process_wrapper/rustc_quit_on_rmeta.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ mod test {
6868
]);
6969
assert!(
7070
!out_content.contains("should not be in output"),
71-
"output should not contain 'should not be in output' but did: {}",
72-
out_content
71+
"output should not contain 'should not be in output' but did",
7372
);
7473
}
7574

0 commit comments

Comments
 (0)