xso: Replace std stuff with alloc/core stuff
This commit is contained in:
parent
4e5f0bc961
commit
6a662e6a2c
1 changed files with 2 additions and 5 deletions
|
|
@ -6,10 +6,7 @@
|
||||||
|
|
||||||
//! Utilities which may eventually move upstream to the `rxml` crate.
|
//! Utilities which may eventually move upstream to the `rxml` crate.
|
||||||
|
|
||||||
use alloc::{
|
use alloc::borrow::{Cow, ToOwned};
|
||||||
borrow::{Cow, ToOwned},
|
|
||||||
string::String,
|
|
||||||
};
|
|
||||||
|
|
||||||
use rxml::{parser::EventMetrics, AttrMap, Event, Namespace, NcName, NcNameStr, XmlVersion};
|
use rxml::{parser::EventMetrics, AttrMap, Event, Namespace, NcName, NcNameStr, XmlVersion};
|
||||||
|
|
||||||
|
|
@ -100,7 +97,7 @@ impl Item<'_> {
|
||||||
#[cfg(feature = "minidom")]
|
#[cfg(feature = "minidom")]
|
||||||
pub(crate) struct EventToItem<I> {
|
pub(crate) struct EventToItem<I> {
|
||||||
inner: I,
|
inner: I,
|
||||||
attributes: Option<rxml::xml_map::IntoIter<String>>,
|
attributes: Option<rxml::xml_map::IntoIter<alloc::string::String>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "minidom")]
|
#[cfg(feature = "minidom")]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue