Fix Element::ns() doc

Paul Fariello created

Change summary

minidom/src/element.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

minidom/src/element.rs 🔗

@@ -213,7 +213,7 @@ impl Element {
         &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 {
         self.namespace.clone()
     }