xso: fix build with minidom and without std

This commit is contained in:
Jonas Schäfer 2026-02-21 09:33:36 +01:00
commit 6cc0df47d7
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,7 @@
Version NEXT: Version NEXT:
* Changes * Changes
- Fix some Clippy warnings - Fix some Clippy warnings
- Fix build with minidom and without std (!661)
Version 0.3.0, release 2025-10-28: Version 0.3.0, release 2025-10-28:
* Changes * Changes

View file

@ -9,6 +9,7 @@
use alloc::{ use alloc::{
borrow::{Cow, ToOwned}, borrow::{Cow, ToOwned},
boxed::Box, boxed::Box,
string::String,
vec::IntoIter, vec::IntoIter,
}; };
use core::marker::PhantomData; use core::marker::PhantomData;
@ -156,7 +157,7 @@ enum AsXmlState<'a> {
element: &'a Element, element: &'a Element,
/// Attribute iterator. /// 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. /// Content: The contents of the element are streamed as events.