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 {