diff options
author | Sam Scott <sam.scott89@gmail.com> | 2017-05-20 22:07:44 +0100 |
---|---|---|
committer | Sam Scott <sam.scott89@gmail.com> | 2017-05-20 22:07:44 +0100 |
commit | 6e71ba43eb6bd62f2b567224e387333016bd3a5c (patch) | |
tree | facec78176a03f5df9124949f7043188224e370c /examples | |
parent | a810aff7ab7891579d69fcdffefeaca3835ce533 (diff) |
Rewrite of most components.
Simplify `ser` logic, and expand `de` functionality.
Diffstat (limited to 'examples')
-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), |