mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-13 11:21:01 +00:00
fix improper deserializing structs-as-maps
This commit is contained in:
@@ -440,8 +440,6 @@ fn deserialize_struct_from_map(
|
|||||||
_ => { return $deserializer.syntax_error(); }
|
_ => { return $deserializer.syntax_error(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
try!($deserializer.expect_struct_end());
|
|
||||||
|
|
||||||
Ok(result)
|
Ok(result)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user