mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 19:28:01 +00:00
Ignore warning from unused enum variant
This commit is contained in:
@@ -38,6 +38,7 @@ enum Enum {
|
||||
Simple(i32),
|
||||
Seq(i32, i32, i32),
|
||||
Map { a: i32, b: i32, c: i32 },
|
||||
#[allow(dead_code)]
|
||||
#[serde(skip_deserializing)]
|
||||
Skipped,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user