mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-10-21 11:16:29 +00:00
Fix a compile error in derive(Deserialize) with no_std + alloc
This commit is contained in:
1 parent
0726623389
commit
e4e110e28f
2 files changed
+2
-2
No files matched your search
@@ -2059,7 +2059,7 @@ fn deserialize_identifier(
|
||||
) = if collect_other_fields {
|
||||
(
|
||||
Some(quote! {
|
||||
let __value = _serde::private::de::Content::String(__value.to_string());
|
||||
let __value = _serde::private::de::Content::String(_serde::export::ToString::to_string(__value));
|
||||
}),
|
||||
Some(quote! {
|
||||
let __value = _serde::private::de::Content::Str(__value);
|
||||
|
||||
Reference in new issue
Block a user