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