Skip to content

Commit 5f535b4

Browse files
committed
fix(bench): lint warnings
1 parent f3df96f commit 5f535b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bench/src/utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ pub fn run_collect(cmd: &[&str]) -> Result<(String, String)> {
109109
.stdout(Stdio::piped())
110110
.stderr(Stdio::piped())
111111
.output()
112-
.with_context(|| format!("failed to execute command: {:?}", cmd))?;
112+
.with_context(|| format!("failed to execute command: {cmd:?}"))?;
113113

114114
if !output.status.success() {
115115
bail!(
@@ -223,7 +223,7 @@ pub fn run(cmd: &[&str]) -> Result<()> {
223223
.args(&cmd[1..])
224224
.stdin(Stdio::piped())
225225
.status()
226-
.with_context(|| format!("failed to execute command: {:?}", cmd))?;
226+
.with_context(|| format!("failed to execute command: {cmd:?}"))?;
227227

228228
if !status.success() {
229229
bail!("Command {:?} exited with {:?}", cmd, status.code());

0 commit comments

Comments
 (0)