Fix spelling error

This commit is contained in:
Dirkjan Ochtman 2022-09-01 09:36:50 +02:00
parent 056f241d1d
commit c341dcb73c
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ impl<'a> Serializer {
serializer.output.write_str("</")?;
serializer.output.write_str(#root_name)?;
serializer.output.write_char('>')?;
serializer.retrive_parent_default_namespace();
serializer.retrieve_parent_default_namespace();
));
}

View File

@ -110,7 +110,7 @@ impl<'xml, W: fmt::Write> Serializer<'xml, W> {
self.parent_default_namespace = namespace;
}
pub fn retrive_parent_default_namespace(&mut self) {
pub fn retrieve_parent_default_namespace(&mut self) {
self.parent_default_namespace = self.parent_default_namespace_to_revert;
}