From 6cc0df47d76b169bd2cb3ba37db0a3fb0608984c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Sat, 21 Feb 2026 09:33:36 +0100 Subject: [PATCH] xso: fix build with minidom and without std --- xso/ChangeLog | 1 + xso/src/minidom_compat.rs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/xso/ChangeLog b/xso/ChangeLog index f5f69341..60cff960 100644 --- a/xso/ChangeLog +++ b/xso/ChangeLog @@ -1,6 +1,7 @@ Version NEXT: * Changes - Fix some Clippy warnings + - Fix build with minidom and without std (!661) Version 0.3.0, release 2025-10-28: * Changes diff --git a/xso/src/minidom_compat.rs b/xso/src/minidom_compat.rs index 7607ca1d..7186b2d5 100644 --- a/xso/src/minidom_compat.rs +++ b/xso/src/minidom_compat.rs @@ -9,6 +9,7 @@ use alloc::{ borrow::{Cow, ToOwned}, boxed::Box, + string::String, vec::IntoIter, }; use core::marker::PhantomData; @@ -156,7 +157,7 @@ enum AsXmlState<'a> { element: &'a Element, /// Attribute iterator. - attributes: rxml::xml_map::Iter<'a, std::string::String>, + attributes: rxml::xml_map::Iter<'a, String>, }, /// Content: The contents of the element are streamed as events.