Remove commented-out code

This commit is contained in:
Paul Hauner
2019-05-15 10:40:30 +10:00
parent 77ac49a553
commit 4b753015d8
2 changed files with 0 additions and 9 deletions

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()