macros: Remove use requirement on ns.
This commit is contained in:
parent
d9aaa3e9ce
commit
93b018e5ac
41 changed files with 112 additions and 141 deletions
|
|
@ -22,7 +22,7 @@ impl TryFrom<Element> for Muc {
|
|||
type Err = Error;
|
||||
|
||||
fn try_from(elem: Element) -> Result<Muc, Error> {
|
||||
check_self!(elem, "x", ns::MUC);
|
||||
check_self!(elem, "x", MUC);
|
||||
check_no_attributes!(elem, "x");
|
||||
|
||||
let mut password = None;
|
||||
|
|
|
|||
Loading…
Reference in a new issue