From 6a662e6a2c68d52e1add079a9eb7af3ca183be38 Mon Sep 17 00:00:00 2001 From: xmppftw Date: Thu, 19 Dec 2024 19:56:45 +0100 Subject: [PATCH] xso: Replace std stuff with alloc/core stuff --- xso/src/rxml_util.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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")]