xso: Fix all failing clippy tests

They are all sensible to me.

skip-changelog: Internal changes.
This commit is contained in:
Emmanuel Gil Peyrot 2025-02-12 18:53:29 +01:00 committed by Link Mauve
commit 356ad0d46e
5 changed files with 10 additions and 11 deletions

View file

@ -235,8 +235,7 @@ where
.as_ref()
.map(AsXmlText::as_xml_text)
.transpose()?
.map(|v| (!v.is_empty()).then_some(v))
.flatten())
.and_then(|v| (!v.is_empty()).then_some(v)))
}
}