summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/introduction.rs2
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),