File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -400,8 +400,7 @@ impl Readable for BigSize {
400
400
/// In TLV we occasionally send fields which only consist of, or potentially end with, a
401
401
/// variable-length integer which is simply truncated by skipping high zero bytes. This type
402
402
/// encapsulates such integers implementing Readable/Writeable for them.
403
- #[ cfg_attr( test, derive( PartialEq ) ) ]
404
- #[ derive( Clone , Debug ) ]
403
+ #[ cfg_attr( test, derive( PartialEq , Debug ) ) ]
405
404
pub ( crate ) struct HighZeroBytesDroppedBigSize < T > ( pub T ) ;
406
405
407
406
macro_rules! impl_writeable_primitive {
@@ -536,7 +535,6 @@ impl_array!(1300); // for OnionPacket.hop_data
536
535
537
536
/// For variable-length values within TLV record where the length is encoded as part of the record.
538
537
/// Used to prevent encoding the length twice.
539
- #[ derive( Clone , Debug , PartialEq ) ]
540
538
pub ( crate ) struct WithoutLength < T > ( pub T ) ;
541
539
542
540
impl Writeable for WithoutLength < String > {
You can’t perform that action at this time.
0 commit comments