Remove commented-out code

This commit is contained in:
Paul Hauner 2019-05-15 10:40:30 +10:00
parent 77ac49a553
commit 4b753015d8
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6
2 changed files with 0 additions and 9 deletions

View File

@ -1,7 +1,4 @@
use super::*;
// use cached_tree_hash::CachedTreeHash;
// use ssz::{Decode, Encode};
// use tree_hash::TreeHash;
impl<T, N: Unsigned> tree_hash::TreeHash for FixedLenVec<T, N>
where

View File

@ -41,12 +41,6 @@ fn get_serializable_field_types<'a>(struct_data: &'a syn::DataStruct) -> Vec<&'a
None
} else {
Some(&f.ty)
/*
Some(match &f.ident {
Some(ref ident) => ident,
_ => panic!("ssz_derive only supports named struct fields."),
})
*/
}
})
.collect()