mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
Don't print no cargo args here either
This commit is contained in:
parent
51284efd0e
commit
aeeb623a70
1 changed files with 5 additions and 1 deletions
|
@ -234,7 +234,11 @@ impl core::fmt::Display for CargoCommand<'_> {
|
||||||
let package = p(package);
|
let package = p(package);
|
||||||
let features = feat(features);
|
let features = feat(features);
|
||||||
let carg = carg(cargoarg);
|
let carg = carg(cargoarg);
|
||||||
write!(f, "Clippy {package} ({target}, {features}, {carg})")
|
if cargoarg.is_some() {
|
||||||
|
write!(f, "Clippy {package} ({target}, {features}, {carg})")
|
||||||
|
} else {
|
||||||
|
write!(f, "Clippy {package} ({target}, {features})")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
CargoCommand::Format {
|
CargoCommand::Format {
|
||||||
cargoarg,
|
cargoarg,
|
||||||
|
|
Loading…
Reference in a new issue