xso: clippy run

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2025-04-07 20:59:15 +02:00
commit 5b62672541
4 changed files with 10 additions and 10 deletions

View file

@ -311,7 +311,7 @@ pub struct Empty {
#[cfg(feature = "macros")]
impl Empty {
pub fn start(self, attr: rxml::AttrMap) -> Result<EmptyBuilder, Error> {
if attr.len() > 0 {
if !attr.is_empty() {
return Err(Error::Other(self.attributeerr));
}
Ok(EmptyBuilder {