Skip to content

Commit a096861

Browse files
authored
Merge pull request #233 from xixishidibei/master
chore: fix cargo clippy warning
2 parents 1bc3b12 + 9b88b5a commit a096861

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)