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 {
|
macro_rules! impl_encodable_for_uint {
|
||||||
($type: ident, $bit_size: expr) => {
|
($type: ident, $bit_size: expr) => {
|
||||||
impl Encodable for $type {
|
impl Encodable for $type {
|
||||||
#[allow(cast_lossless)]
|
#[allow(clippy::cast_lossless)]
|
||||||
fn ssz_append(&self, s: &mut SszStream) {
|
fn ssz_append(&self, s: &mut SszStream) {
|
||||||
// Ensure bit size is valid
|
// Ensure bit size is valid
|
||||||
assert!(
|
assert!(
|
||||||
|
Loading…
Reference in New Issue
Block a user