File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1065,8 +1065,8 @@ macro_rules! impl_writeable_tlv_based_enum {
1065
1065
/// when [`MaybeReadable`] is practical instead of just [`Readable`] as it provides an upgrade path for
1066
1066
/// new variants to be added which are simply ignored by existing clients.
1067
1067
///
1068
- /// Note that only normal variants (not tuple variants) will support downgrading, thus any new odd
1069
- /// variants MUST be normal (i.e. described using `$variant_id` and `$variant_name` not
1068
+ /// Note that only struct and unit variants (not tuple variants) will support downgrading, thus any
1069
+ /// new odd variants MUST be non-tuple (i.e. described using `$variant_id` and `$variant_name` not
1070
1070
/// `$tuple_variant_id` and `$tuple_variant_name`).
1071
1071
///
1072
1072
/// [`MaybeReadable`]: crate::util::ser::MaybeReadable
You can’t perform that action at this time.
0 commit comments