mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
Fix Element::ns() doc
This commit is contained in:
parent
20e4bc455a
commit
204b1f38eb
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue