xso-proc: Replace std stuff with alloc/core stuff

This commit is contained in:
xmppftw xmppftw 2024-12-19 19:56:17 +01:00 committed by Emmanuel Gil Peyrot
commit 4e5f0bc961
8 changed files with 12 additions and 8 deletions

View file

@ -294,7 +294,7 @@ impl StructInner {
quote! {
let name = (
::xso::exports::rxml::Namespace::from(#xml_namespace),
::std::borrow::Cow::Borrowed(#xml_name),
::alloc::borrow::Cow::Borrowed(#xml_name),
);
#init
}