From 4ef337f5a8e88bfa97386b0994f7f7f14a1f22ea Mon Sep 17 00:00:00 2001 From: Daniel Xu Date: Fri, 25 Oct 2024 14:16:17 -0700 Subject: [PATCH] Fix clippy warning --- src/qemu.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qemu.rs b/src/qemu.rs index d1bcfdb..5103a7f 100644 --- a/src/qemu.rs +++ b/src/qemu.rs @@ -980,7 +980,7 @@ impl Qemu { } fn verify_qemu_exists(qemu_program: &str) -> anyhow::Result<()> { - if let Err(e) = Command::new(&qemu_program) + if let Err(e) = Command::new(qemu_program) .arg("--help") .stdout(Stdio::null()) .stderr(Stdio::null())