xso: clippy run
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
2555bedaa8
commit
5b62672541
4 changed files with 10 additions and 10 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue