xso: Fix all failing clippy tests
They are all sensible to me. skip-changelog: Internal changes.
This commit is contained in:
parent
5cbe5936a6
commit
356ad0d46e
5 changed files with 10 additions and 11 deletions
|
|
@ -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)))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue