mirror of
https://github.com/instant-labs/instant-xml.git
synced 2025-02-17 23:42:06 +00:00
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
Block a user