Fix Element::ns() doc

This commit is contained in:
Paul Fariello 2021-10-06 18:45:20 +02:00
commit 204b1f38eb

View file

@ -213,7 +213,7 @@ impl Element {
&self.name &self.name
} }
/// Returns a reference to the namespace of this element, if it has one, else `None`. /// Returns a reference to the namespace of this element.
pub fn ns(&self) -> String { pub fn ns(&self) -> String {
self.namespace.clone() self.namespace.clone()
} }