mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-13 15:38:21 +00:00
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