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

@ -75,7 +75,7 @@ impl<T: AsXml> AsXml for Box<T> {
T: 'x;
fn as_xml_iter(&self) -> Result<Self::ItemIter<'_>, Error> {
Ok(BoxAsXml(Box::new(T::as_xml_iter(&self)?)))
Ok(BoxAsXml(Box::new(T::as_xml_iter(self)?)))
}
}