Skip to content

Commit 18ea6a2

Browse files
committed
fixup: doc hide exported helper macros
1 parent 869e23c commit 18ea6a2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lightning/src/util/ser_macros.rs

+3
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ macro_rules! _encode_tlv {
4949

5050
/// Panics if the last seen TLV type is not numerically less than the TLV type currently being checked.
5151
/// This is exported for use by other exported macros, do not use directly.
52+
#[doc(hidden)]
5253
#[macro_export]
5354
macro_rules! _check_encoded_tlv_order {
5455
($last_type: expr, $type: expr, (static_value, $value: expr)) => { };
@@ -292,6 +293,7 @@ macro_rules! _decode_tlv {
292293

293294
/// Checks if `$val` matches `$type`.
294295
/// This is exported for use by other exported macros, do not use directly.
296+
#[doc(hidden)]
295297
#[macro_export]
296298
macro_rules! _decode_tlv_stream_match_check {
297299
($val: ident, $type: expr, (static_value, $value: expr)) => { false };
@@ -610,6 +612,7 @@ macro_rules! _init_tlv_field_var {
610612

611613
/// Equivalent to running [`_init_tlv_field_var`] then [`read_tlv_fields`].
612614
/// This is exported for use by other exported macros, do not use directly.
615+
#[doc(hidden)]
613616
#[macro_export]
614617
macro_rules! _init_and_read_tlv_fields {
615618
($reader: ident, {$(($type: expr, $field: ident, $fieldty: tt)),* $(,)*}) => {

0 commit comments

Comments
 (0)