Skip to content

Commit f19cce2

Browse files
authored
Merge pull request assert-rs#233 from xixishidibei/master
chore: fix cargo clippy warning
2 parents e588e0d + 3358c60 commit f19cce2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/assert.rs

Lines changed: 1 addition & 1 deletion
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)