Skip to content

Commit c37a834

Browse files
committed
f call it struct/unit rather than "normal"
1 parent f2edd89 commit c37a834

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/util/ser_macros.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,8 +1065,8 @@ macro_rules! impl_writeable_tlv_based_enum {
10651065
/// when [`MaybeReadable`] is practical instead of just [`Readable`] as it provides an upgrade path for
10661066
/// new variants to be added which are simply ignored by existing clients.
10671067
///
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
10701070
/// `$tuple_variant_id` and `$tuple_variant_name`).
10711071
///
10721072
/// [`MaybeReadable`]: crate::util::ser::MaybeReadable

0 commit comments

Comments
 (0)