File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1065,9 +1065,9 @@ 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 variants written as tuple variants will not support downgrading no matter the
1069
- /// `$tuple_variant_id` used. Any variants written as a normal variant will support downgrading by
1070
- /// having [`MaybeReadable`] return `None` for odd `$variant_id` variants not understood .
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
1070
+ /// `$tuple_variant_id` and `$tuple_variant_name`) .
1071
1071
///
1072
1072
/// [`MaybeReadable`]: crate::util::ser::MaybeReadable
1073
1073
/// [`Writeable`]: crate::util::ser::Writeable
You can’t perform that action at this time.
0 commit comments