mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-15 20:11:01 +00:00
Remove outdated comment
This commit is contained in:
@@ -927,8 +927,6 @@ fn deserialize_field_visitor(fields: Vec<(String, Ident)>,
|
|||||||
|
|
||||||
let bytes_to_str = if is_variant || item_attrs.deny_unknown_fields() {
|
let bytes_to_str = if is_variant || item_attrs.deny_unknown_fields() {
|
||||||
Some(quote! {
|
Some(quote! {
|
||||||
// TODO https://github.com/serde-rs/serde/issues/666
|
|
||||||
// update this to use str::from_utf8(value).unwrap_or("���") on no_std
|
|
||||||
let value = &_serde::export::from_utf8_lossy(value);
|
let value = &_serde::export::from_utf8_lossy(value);
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user