Update ssz impl for fixed_len_vec

This commit is contained in:
Paul Hauner
2019-05-10 16:37:56 +10:00
parent 3cd112d42d
commit 1e2bf03d5e
2 changed files with 45 additions and 8 deletions

View File

@@ -9,10 +9,7 @@ pub use typenum;
mod impls;
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)]
pub struct FixedLenVec<T, N>
where
N: Unsigned,
{
pub struct FixedLenVec<T, N> {
vec: Vec<T>,
_phantom: PhantomData<N>,
}