run clippy fix

This commit is contained in:
Lennart K
2025-10-27 19:01:04 +01:00
parent 08041c60be
commit 0d071d3b92
94 changed files with 455 additions and 484 deletions

View File

@@ -62,13 +62,13 @@ impl<T: XmlRootTag + XmlDeserialize> XmlDocument for T {
format!("{root_ns:?}"),
Self::root_tag().to_owned(),
));
};
}
return Self::deserialize(&mut reader, &start, empty);
}
Event::Eof => return Err(XmlError::Eof),
_ => return Err(XmlError::UnsupportedEvent("unknown, todo")),
};
}
}
}
}
@@ -88,7 +88,7 @@ impl XmlDeserialize for () {
Event::End(e) if e.name() == start.name() => return Ok(()),
Event::Eof => return Err(XmlError::Eof),
_ => {}
};
}
}
}
}