diff --git a/xso/src/rxml_util.rs b/xso/src/rxml_util.rs index 37500fcf3eb39b7147325a30592d3602a5003da2..48f1771dbb86b22272af1487cc5b37e1ba098e34 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")]