diff --git a/xso/src/rxml_util.rs b/xso/src/rxml_util.rs index 37500fcf..48f1771d 100644 --- a/xso/src/rxml_util.rs +++ b/xso/src/rxml_util.rs @@ -6,10 +6,7 @@ //! Utilities which may eventually move upstream to the `rxml` crate. -use alloc::{ - borrow::{Cow, ToOwned}, - string::String, -}; +use alloc::borrow::{Cow, ToOwned}; use rxml::{parser::EventMetrics, AttrMap, Event, Namespace, NcName, NcNameStr, XmlVersion}; @@ -100,7 +97,7 @@ impl Item<'_> { #[cfg(feature = "minidom")] pub(crate) struct EventToItem { inner: I, - attributes: Option>, + attributes: Option>, } #[cfg(feature = "minidom")]