Fix clippy lint in ssz
This commit is contained in:
parent
a7756ea4b5
commit
e635423eac
@ -12,7 +12,7 @@ use super::{Encodable, SszStream};
|
||||
macro_rules! impl_encodable_for_uint {
|
||||
($type: ident, $bit_size: expr) => {
|
||||
impl Encodable for $type {
|
||||
#[allow(cast_lossless)]
|
||||
#[allow(clippy::cast_lossless)]
|
||||
fn ssz_append(&self, s: &mut SszStream) {
|
||||
// Ensure bit size is valid
|
||||
assert!(
|
||||
|
Loading…
Reference in New Issue
Block a user