Fix clippy lint in ssz

This commit is contained in:
Paul Hauner 2018-12-25 18:34:45 +11:00
parent a7756ea4b5
commit e635423eac
No known key found for this signature in database
GPG Key ID: 303E4494BB28068C

View File

@ -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!(