Format with rustfmt 0.99.1

This commit is contained in:
David Tolnay
2018-08-06 22:40:28 -07:00
parent 5fff0d936d
commit 28db9d4989
6 changed files with 29 additions and 42 deletions
+1 -2
View File
@@ -62,8 +62,7 @@ fn pretend_fields_used(cont: &Container) -> TokenStream {
Some(quote!(#type_ident::#variant_ident #pat))
}
_ => None,
})
.collect::<Vec<_>>(),
}).collect::<Vec<_>>(),
Data::Struct(Style::Struct, ref fields) => {
let pat = struct_pattern(fields);
vec![quote!(#type_ident #pat)]