diff options
Diffstat (limited to 'examples/introduction.rs')
-rw-r--r-- | examples/introduction.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/introduction.rs b/examples/introduction.rs index a8e984f..fb70665 100644 --- a/examples/introduction.rs +++ b/examples/introduction.rs @@ -131,7 +131,7 @@ fn main() { // Enums are supported, but only adjacently tagged enums // (see https://serde.rs/enum-representations.html for more information). #[derive(Deserialize, Debug, PartialEq, Serialize)] - #[serde(tag = "type", content = "value")] + // #[serde(tag = "type", content = "value")] enum AdjTaggedEnum { B(bool), S(String), |