fix(bench): lint warnings

This commit is contained in:
Lucas Nogueira 2025-08-24 08:17:25 -03:00
parent f3df96fb38
commit 5f535b4150
No known key found for this signature in database
GPG Key ID: 7C32FCA95C8C95D7

View File

@ -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());