mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-10-22 03:36:17 +00:00
Do not imply flatten from skip_serialize
This commit is contained in:
1 parent
50c636a923
commit
695c3eedcb
2 files changed
+23
-9
No files matched your search
@@ -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