mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 22:58:02 +00:00
Fix a warning, bump the versions
This commit is contained in:
@@ -1137,12 +1137,12 @@ fn deserialize_map(
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
// Visit ignored values to consume them
|
||||
let ignored_arm = if !container_attrs.deny_unknown_fields() {
|
||||
let ignored_arm = if container_attrs.deny_unknown_fields() {
|
||||
None
|
||||
} else {
|
||||
Some(quote_arm!(cx,
|
||||
_ => { try!(visitor.visit_value::<::serde::de::impls::IgnoredAny>()); }
|
||||
))
|
||||
} else {
|
||||
None
|
||||
};
|
||||
|
||||
let extract_values = fields_attrs_names.iter()
|
||||
|
||||
Reference in New Issue
Block a user