diff options
author | 2025-02-26 19:17:21 +0000 | |
---|---|---|
committer | 2025-02-26 19:17:21 +0000 | |
commit | 6b44ac8ea4cae137f412455d52ade9e239f4b816 (patch) | |
tree | 6d0720e4433404edf9f7643cf8c79798bf81561c | |
parent | ead1b25803fe8e5f6cc0c66251ce5e5587cfb1df (diff) | |
download | luz-6b44ac8ea4cae137f412455d52ade9e239f4b816.tar.gz luz-6b44ac8ea4cae137f412455d52ade9e239f4b816.tar.bz2 luz-6b44ac8ea4cae137f412455d52ade9e239f4b816.zip |
fix(stanza): FromElement for Bind namespace check
-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()?; |