xso: Replace std stuff with alloc/core stuff

xmppftw created

Change summary

xso/src/rxml_util.rs | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)

Detailed changes

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<I> {
     inner: I,
-    attributes: Option<rxml::xml_map::IntoIter<String>>,
+    attributes: Option<rxml::xml_map::IntoIter<alloc::string::String>>,
 }
 
 #[cfg(feature = "minidom")]