mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user