Pretty print ItemKind::Use in rustfmt style
This commit is contained in:
parent
8b13fd447a
commit
d1b9e4a6f2
3 changed files with 39 additions and 15 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue