xso: Replace std stuff with alloc/core stuff

This commit is contained in:
xmppftw xmppftw 2024-12-19 19:56:45 +01:00 committed by Emmanuel Gil Peyrot
commit 6a662e6a2c

View file

@ -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")]