mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 19:28:01 +00:00
s/disallow_unknown/deny_unknown_fields/
This commit is contained in:
@@ -17,7 +17,7 @@ struct Default {
|
||||
}
|
||||
|
||||
#[derive(Debug, PartialEq, Serialize, Deserialize)]
|
||||
#[serde(disallow_unknown)]
|
||||
#[serde(deny_unknown_fields)]
|
||||
struct DisallowUnknown {
|
||||
a1: i32,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user