Skip to content

Commit c89d42c

Browse files
xtask: Fix clippy lints on the beta channel
1 parent a090256 commit c89d42c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xtask/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub fn run_cmd(cmd: &mut Command) -> Result<()> {
4444
let program = cmd.get_program().to_string_lossy().into_owned();
4545
let status = cmd
4646
.status()
47-
.context(format!("failed to launch {}", program))?;
47+
.context(format!("failed to launch {program}"))?;
4848
if !status.success() {
4949
bail!("command {program} failed: {status:?}");
5050
}
@@ -60,7 +60,7 @@ pub fn capture_cmd(cmd: &mut Command) -> Result<Output> {
6060
let program = cmd.get_program().to_string_lossy().into_owned();
6161
let output = cmd
6262
.output()
63-
.context(format!("failed to launch {}", program))?;
63+
.context(format!("failed to launch {program}"))?;
6464
if !output.status.success() {
6565
bail!(
6666
"command {program} failed: {status:?}",

0 commit comments

Comments
 (0)