Skip to content

Commit 9b88b5a

Browse files
committed
chore:fix cargo clippy warning
Signed-off-by: xixishidibei <[email protected]>
1 parent 1bc3b12 commit 9b88b5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/assert.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ impl OutputAssertExt for &mut process::Command {
6161
let output = match self.output() {
6262
Ok(output) => output,
6363
Err(err) => {
64-
panic!("Failed to spawn {:?}: {}", self, err);
64+
panic!("Failed to spawn {self:?}: {err}");
6565
}
6666
};
6767
Assert::new(output).append_context("command", format!("{self:?}"))

0 commit comments

Comments
 (0)