diff --git a/attr-bound.html b/attr-bound.html index 289040f7..1685b4d6 100644 --- a/attr-bound.html +++ b/attr-bound.html @@ -755,7 +755,7 @@
"variant"
field of the
input is neither "A"
nor "B"
.
+#[serde(untagged)]
Irrespective of the enum representation, serialize +and deserialize this variant as untagged, i.e. simply as the variant's data +with no record of the variant name.
+Untagged variants must be ordered last in the enum definition.
+