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() {
|
||||
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);
|
||||
})
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user