From 5f535b415015b1dc96191dd3bab5ec210a0751be Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Sun, 24 Aug 2025 08:17:25 -0300 Subject: [PATCH] fix(bench): lint warnings --- bench/src/utils.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bench/src/utils.rs b/bench/src/utils.rs index 48d0ba7eb..0b6ce1e58 100644 --- a/bench/src/utils.rs +++ b/bench/src/utils.rs @@ -109,7 +109,7 @@ pub fn run_collect(cmd: &[&str]) -> Result<(String, String)> { .stdout(Stdio::piped()) .stderr(Stdio::piped()) .output() - .with_context(|| format!("failed to execute command: {:?}", cmd))?; + .with_context(|| format!("failed to execute command: {cmd:?}"))?; if !output.status.success() { bail!( @@ -223,7 +223,7 @@ pub fn run(cmd: &[&str]) -> Result<()> { .args(&cmd[1..]) .stdin(Stdio::piped()) .status() - .with_context(|| format!("failed to execute command: {:?}", cmd))?; + .with_context(|| format!("failed to execute command: {cmd:?}"))?; if !status.success() { bail!("Command {:?} exited with {:?}", cmd, status.code());