From c341dcb73c5702f0641411d797e5fc14317f576e Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Thu, 1 Sep 2022 09:36:50 +0200 Subject: [PATCH] Fix spelling error --- instant-xml-macros/src/se.rs | 2 +- instant-xml/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/instant-xml-macros/src/se.rs b/instant-xml-macros/src/se.rs index 4e6ee1f..e2917b1 100644 --- a/instant-xml-macros/src/se.rs +++ b/instant-xml-macros/src/se.rs @@ -67,7 +67,7 @@ impl<'a> Serializer { serializer.output.write_str("')?; - serializer.retrive_parent_default_namespace(); + serializer.retrieve_parent_default_namespace(); )); } diff --git a/instant-xml/src/lib.rs b/instant-xml/src/lib.rs index 4330af3..aa6fdb9 100644 --- a/instant-xml/src/lib.rs +++ b/instant-xml/src/lib.rs @@ -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; }