fix(stanza): FromElement for Bind namespace check
This commit is contained in:
parent
ead1b25803
commit
6b44ac8ea4
|
@ -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()?;
|
||||
|
||||
|
|
Loading…
Reference in New Issue