Fix prefixes on close tags
This commit is contained in:
parent
3b07f39881
commit
570cdc81a5
|
@ -63,7 +63,7 @@ pub fn to_xml(input: &syn::DeriveInput) -> proc_macro2::TokenStream {
|
||||||
#body
|
#body
|
||||||
|
|
||||||
// Close tag
|
// Close tag
|
||||||
serializer.write_close(None, #root_name)?;
|
serializer.write_close(prefix, #root_name)?;
|
||||||
serializer.pop(old);
|
serializer.pop(old);
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
Loading…
Reference in New Issue