Add serde transparent flag to fixed_len_vec

This commit is contained in:
Paul Hauner
2019-05-15 07:55:03 +10:00
parent d73e068686
commit b6d8db3f72

View File

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