1
Fork 0

Pretty print ItemKind::Use in rustfmt style

This commit is contained in:
David Tolnay 2022-02-07 21:03:06 -08:00
parent 8b13fd447a
commit d1b9e4a6f2
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82
3 changed files with 39 additions and 15 deletions

View file

@ -142,7 +142,7 @@ impl<'a> State<'a> {
if !field.is_last || has_rest {
self.word_space(",");
} else {
self.trailing_comma();
self.trailing_comma_or_space();
}
}
if has_rest {