parsers: clippy pass
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
60ebcb8c8a
commit
b522eaf7f3
13 changed files with 33 additions and 31 deletions
|
|
@ -56,7 +56,7 @@ impl TryFrom<Element> for Conference {
|
|||
extensions: Vec::new(),
|
||||
};
|
||||
|
||||
for child in root.children().cloned() {
|
||||
for child in root.children() {
|
||||
if child.is("nick", ns::BOOKMARKS2) {
|
||||
if conference.nick.is_some() {
|
||||
return Err(Error::ParseError(
|
||||
|
|
|
|||
Loading…
Reference in a new issue