Remove outdated comment

This commit is contained in:
David Tolnay 2017-02-17 20:38:50 -08:00
parent c590df13b9
commit adf7b086b5
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -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 {