From 6e71ba43eb6bd62f2b567224e387333016bd3a5c Mon Sep 17 00:00:00 2001 From: Sam Scott Date: Sat, 20 May 2017 22:07:44 +0100 Subject: Rewrite of most components. Simplify `ser` logic, and expand `de` functionality. --- examples/introduction.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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), -- cgit v1.2.3