parsers: clippy pass

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2023-12-15 20:15:35 +01:00 • committed by pep
commit b522eaf7f3
13 changed files with 33 additions and 31 deletions

View file

@ -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(