diff options
Diffstat (limited to 'stanza/src/bind.rs')
-rw-r--r-- | stanza/src/bind.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stanza/src/bind.rs b/stanza/src/bind.rs index 07a8c0f..f72c510 100644 --- a/stanza/src/bind.rs +++ b/stanza/src/bind.rs @@ -14,7 +14,7 @@ pub struct Bind { impl FromElement for Bind { fn from_element(mut element: peanuts::Element) -> peanuts::element::DeserializeResult<Self> { element.check_name("bind")?; - element.check_name(XMLNS)?; + element.check_namespace(XMLNS)?; let r#type = element.pop_child_opt()?; |