xso: fix no_std support
This reverts the Revert in 6ec275d3 which had to be done in order to
un-break usage of xso in std crates.
This commit is contained in:
parent
bf12accd48
commit
beae4ae66b
9 changed files with 42 additions and 9 deletions
|
|
@ -294,7 +294,7 @@ impl StructInner {
|
|||
quote! {
|
||||
let name = (
|
||||
::xso::exports::rxml::Namespace::from(#xml_namespace),
|
||||
::std::borrow::Cow::Borrowed(#xml_name),
|
||||
::xso::exports::alloc::borrow::Cow::Borrowed(#xml_name),
|
||||
);
|
||||
#init
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue