diff --git a/enum-representations.html b/enum-representations.html index 4f8cb986..91f18e1a 100644 --- a/enum-representations.html +++ b/enum-representations.html @@ -717,7 +717,7 @@
This representation can handle enums containing any type of variant.
+This representation can handle enums containing any type of variant. However, all unit variants will always serialize as `null`.
As another example of an untagged enum, this enum can be deserialized from either an integer or an array of two strings:
#[derive(Serialize, Deserialize)]