mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-13 04:21:04 +00:00
Format with rustfmt 1.0.0-nightly
This commit is contained in:
@@ -1369,7 +1369,8 @@ fn deserialize_adjacently_tagged_enum(
|
||||
quote! {
|
||||
__Field::#variant_index => #block
|
||||
}
|
||||
}).collect();
|
||||
})
|
||||
.collect();
|
||||
|
||||
let expecting = format!("adjacently tagged enum {}", params.type_name());
|
||||
let type_name = cattrs.name().deserialize_name();
|
||||
@@ -1962,7 +1963,8 @@ fn deserialize_custom_identifier(
|
||||
variant.attrs.name().deserialize_name(),
|
||||
variant.ident.clone(),
|
||||
)
|
||||
}).collect();
|
||||
})
|
||||
.collect();
|
||||
|
||||
let names = names_idents.iter().map(|&(ref name, _)| name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user