Fixed typo in encode.rs

This commit is contained in:
douglaz 2024-07-07 23:27:54 +00:00 committed by GitHub
parent 59a3b2b683
commit 74ca0195e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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.
///