test_infra: Fix clippy: useless_borrows_in_formatting

Replace & in formatting arguments where it is already a reference
(avoiding &&).

Signed-off-by: Rob Bradford <rbradford@meta.com>
This commit is contained in:
Rob Bradford
2026-05-27 12:27:00 +01:00
committed by Bo Chen
parent 2a20f570b2
commit c10f237529

View File

@@ -2097,7 +2097,7 @@ pub fn remote_command(api_socket: &str, command: &str, arg: Option<&str>) -> boo
if output.status.success() {
true
} else {
eprintln!("Error running ch-remote command: {:?}", &cmd);
eprintln!("Error running ch-remote command: {:?}", cmd);
let stderr = String::from_utf8_lossy(&output.stderr);
eprintln!("stderr: {stderr}");
false