mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-05-01 15:58:03 +00:00
Fix unused_results complaining rustc lint in codegen for adjacently tagged enum
This commit is contained in:
@@ -1458,7 +1458,7 @@ fn deserialize_adjacently_tagged_enum(
|
||||
while let _serde::__private::Some(__k) = #next_key {
|
||||
match __k {
|
||||
_serde::__private::de::TagContentOtherField::Other => {
|
||||
try!(_serde::de::MapAccess::next_value::<_serde::de::IgnoredAny>(&mut __map));
|
||||
_serde::__private::mem::drop(try!(_serde::de::MapAccess::next_value::<_serde::de::IgnoredAny>(&mut __map)));
|
||||
continue;
|
||||
},
|
||||
_serde::__private::de::TagContentOtherField::Tag => {
|
||||
|
||||
Reference in New Issue
Block a user