Fix formatting
This commit is contained in:
parent
a4f35e5daa
commit
433b0197bb
|
@ -49,7 +49,9 @@ fn deserialize_enum(
|
||||||
|
|
||||||
quote!(
|
quote!(
|
||||||
impl #impl_generics FromXml<'xml> for #ident #ty_generics #where_clause {
|
impl #impl_generics FromXml<'xml> for #ident #ty_generics #where_clause {
|
||||||
fn deserialize<'cx>(deserializer: &'cx mut ::instant_xml::Deserializer<'cx, 'xml>) -> Result<Self, ::instant_xml::Error> {
|
fn deserialize<'cx>(
|
||||||
|
deserializer: &'cx mut ::instant_xml::Deserializer<'cx, 'xml>
|
||||||
|
) -> Result<Self, ::instant_xml::Error> {
|
||||||
match deserializer.take_str() {
|
match deserializer.take_str() {
|
||||||
#variants
|
#variants
|
||||||
_ => Err(::instant_xml::Error::UnexpectedValue)
|
_ => Err(::instant_xml::Error::UnexpectedValue)
|
||||||
|
|
Loading…
Reference in New Issue