Merge rust-bitcoin/rust-bitcoin#2978: Fixed typo in encode.rs
74ca0195e7
Fixed typo in encode.rs (douglaz) Pull request description: ACKs for top commit: tcharding: ACK74ca0195e7
Kixunil: ACK74ca0195e7
apoelstra: ACK74ca0195e7
Tree-SHA512: 20b52a14c5d7c084de545b0e72c23396378c2be3a3e4c225550433901970521801e225804e56ebb3e7736de7dc31dce2d06ea09e7863a617c3daff46eefb297c
This commit is contained in:
commit
c40fda2f78
|
@ -434,7 +434,7 @@ impl_int_encodable!(i16, read_i16, emit_i16);
|
|||
impl_int_encodable!(i32, read_i32, emit_i32);
|
||||
impl_int_encodable!(i64, read_i64, emit_i64);
|
||||
|
||||
#[allow(clippy::len_without_is_empty)] // VarInt has on concept of 'is_empty'.
|
||||
#[allow(clippy::len_without_is_empty)] // VarInt has no concept of 'is_empty'.
|
||||
impl VarInt {
|
||||
/// Returns the number of bytes this varint contributes to a transaction size.
|
||||
///
|
||||
|
|
Loading…
Reference in New Issue