From b6d8db3f72badbd0913e81ee22f860dedace3da4 Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Wed, 15 May 2019 07:55:03 +1000 Subject: [PATCH] Add serde transparent flag to fixed_len_vec --- eth2/utils/fixed_len_vec/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/eth2/utils/fixed_len_vec/src/lib.rs b/eth2/utils/fixed_len_vec/src/lib.rs index 2976ee4e4..55cd44d89 100644 --- a/eth2/utils/fixed_len_vec/src/lib.rs +++ b/eth2/utils/fixed_len_vec/src/lib.rs @@ -9,6 +9,7 @@ pub use typenum; mod impls; #[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +#[serde(transparent)] pub struct FixedLenVec { vec: Vec, _phantom: PhantomData,