diff --git a/src/writer.rs b/src/writer.rs index 5e16590f..0f25e0cd 100644 --- a/src/writer.rs +++ b/src/writer.rs @@ -143,7 +143,7 @@ impl Writer { /// # } /// ``` #[must_use] - pub fn create_element<'a, N>(&'a mut self, name: N) -> ElementWriter + pub fn create_element<'a, N>(&'a mut self, name: N) -> ElementWriter<'a, W> where N: Into>, {