From e635423eacbb1f4ccd51025fa46fd77d15ffc40c Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Tue, 25 Dec 2018 18:34:45 +1100 Subject: [PATCH] Fix clippy lint in ssz --- beacon_chain/utils/ssz/src/impl_encode.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon_chain/utils/ssz/src/impl_encode.rs b/beacon_chain/utils/ssz/src/impl_encode.rs index 3f366bdf3..f316a21ea 100644 --- a/beacon_chain/utils/ssz/src/impl_encode.rs +++ b/beacon_chain/utils/ssz/src/impl_encode.rs @@ -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!(