Fix prefixes on close tags

This commit is contained in:
Dirkjan Ochtman 2022-09-07 17:40:25 +02:00
parent 3b07f39881
commit 570cdc81a5
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ pub fn to_xml(input: &syn::DeriveInput) -> proc_macro2::TokenStream {
#body
// Close tag
serializer.write_close(None, #root_name)?;
serializer.write_close(prefix, #root_name)?;
serializer.pop(old);
Ok(())