Skip to content

Commit c681354

Browse files
committed
crates/xtask: Fix various clippy lints
Signed-off-by: Colin Walters <[email protected]>
1 parent 56ed02d commit c681354

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/xtask/src/xtask.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ fn update_spec(sh: &Shell) -> Result<Utf8PathBuf> {
374374
} else if line.starts_with("Source1") {
375375
writeln!(o, "Source1: {src_vendorpath}")?;
376376
} else {
377-
writeln!(o, "{}", line)?;
377+
writeln!(o, "{line}")?;
378378
}
379379
}
380380
}
@@ -419,7 +419,7 @@ fn impl_srpm(sh: &Shell) -> Result<Utf8PathBuf> {
419419
writeln!(o, "# Replaced by cargo xtask package-srpm")?;
420420
writeln!(o, "Version: {v}")?;
421421
} else {
422-
writeln!(o, "{}", line)?;
422+
writeln!(o, "{line}")?;
423423
}
424424
}
425425
}

0 commit comments

Comments
 (0)