mirror of
https://github.com/serde-rs/serde.git
synced 2025-10-03 07:45:38 +00:00
Remove outdated comment
This commit is contained in:
parent
c590df13b9
commit
adf7b086b5
@ -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("<22><><EFBFBD>") on no_std
|
|
||||||
let value = &_serde::export::from_utf8_lossy(value);
|
let value = &_serde::export::from_utf8_lossy(value);
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user