From 5e9635add374e9bedf19711927a51e739d4d8928 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sun, 15 Dec 2024 16:26:05 +0100 Subject: [PATCH] rustfmt has changed, so update xso so CI is happy again --- xso/src/asxml.rs | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/xso/src/asxml.rs b/xso/src/asxml.rs index 3b4e449e..a3d17996 100644 --- a/xso/src/asxml.rs +++ b/xso/src/asxml.rs @@ -41,7 +41,10 @@ impl<'x, T: Iterator, Error>>> Iterator for OptionAsXml AsXml for Option { - type ItemIter<'x> = OptionAsXml> where T: 'x; + type ItemIter<'x> + = OptionAsXml> + where + T: 'x; fn as_xml_iter(&self) -> Result, Error> { match self { @@ -64,7 +67,10 @@ impl<'x, T: Iterator, Error>>> Iterator for BoxAsXml { /// Emits the contents of `T` unchanged. impl AsXml for Box { - type ItemIter<'x> = BoxAsXml> where T: 'x; + type ItemIter<'x> + = BoxAsXml> + where + T: 'x; fn as_xml_iter(&self) -> Result, Error> { Ok(BoxAsXml(Box::new(T::as_xml_iter(&self)?))) @@ -76,7 +82,10 @@ impl AsXml for Result where for<'a> Error: From<&'a E>, { - type ItemIter<'x> = T::ItemIter<'x> where Self: 'x; + type ItemIter<'x> + = T::ItemIter<'x> + where + Self: 'x; fn as_xml_iter(&self) -> Result, Error> { match self {