mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 18:27:54 +00:00
Do not imply flatten from skip_serialize
This commit is contained in:
@@ -1010,7 +1010,7 @@ impl Field {
|
||||
}
|
||||
|
||||
pub fn skip_deserializing(&self) -> bool {
|
||||
self.skip_deserializing || self.flatten
|
||||
self.skip_deserializing
|
||||
}
|
||||
|
||||
pub fn skip_serializing_if(&self) -> Option<&syn::ExprPath> {
|
||||
|
||||
Reference in New Issue
Block a user