From 0e99e3145f7626524d324c7593c7eb3512515582 Mon Sep 17 00:00:00 2001 From: Will Greenberg Date: Wed, 15 Jul 2026 15:19:29 -0700 Subject: [PATCH] appease clippy annoyingly these changes are totally unrelated to this PR, but our CI won't pass tests otherwise. --- daemon/src/stats.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/daemon/src/stats.rs b/daemon/src/stats.rs index bf14a34..38fd100 100644 --- a/daemon/src/stats.rs +++ b/daemon/src/stats.rs @@ -115,15 +115,15 @@ pub struct MemoryStats { // runs the given command and returns its stdout as a string async fn get_cmd_output(mut cmd: Command) -> Result { - let cmd_str = format!("{:?}", &cmd); + let cmd_str = format!("{:?}", cmd); let output = cmd .output() .await - .map_err(|e| format!("error running command {}: {}", &cmd_str, e))?; + .map_err(|e| format!("error running command {}: {}", cmd_str, e))?; if !output.status.success() { return Err(format!( "command {} failed with exit code {}", - &cmd_str, + cmd_str, output.status.code().unwrap() )); }