xso-proc: Replace std stuff with alloc/core stuff
This commit is contained in:
parent
4ac792b4d4
commit
4e5f0bc961
8 changed files with 12 additions and 8 deletions
|
|
@ -102,7 +102,7 @@ impl Field for AttributeField {
|
|||
generator: quote! {
|
||||
#as_optional_xml_text(#bound_name)?.map(|#bound_name| ::xso::Item::Attribute(
|
||||
#xml_namespace,
|
||||
::std::borrow::Cow::Borrowed(#xml_name),
|
||||
::alloc::borrow::Cow::Borrowed(#xml_name),
|
||||
#bound_name,
|
||||
));
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue