mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-13 00:51:02 +00:00
Format with rustfmt 1.0.0-nightly
This commit is contained in:
@@ -62,7 +62,8 @@ 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)]
|
||||
|
||||
Reference in New Issue
Block a user