Missed a paren

This commit is contained in:
datdenkikniet 2023-04-15 15:16:43 +02:00
parent c6f4b834c1
commit b11b4f8cdd

View file

@ -266,11 +266,11 @@ impl core::fmt::Display for CargoCommand<'_> {
let arguments = arguments
.clone()
.map(|a| format!("{a}"))
.unwrap_or_else(|| "No extra arguments".into());
.unwrap_or_else(|| "no extra arguments".into());
if cargoarg.is_some() {
write!(f, "Document ({feat}, {carg}, {arguments}")
write!(f, "Document ({feat}, {carg}, {arguments})")
} else {
write!(f, "Document ({feat}, {arguments}")
write!(f, "Document ({feat}, {arguments})")
}
}
CargoCommand::Test {