mirror of
https://github.com/sigp/lighthouse.git
synced 2026-07-03 12:54:27 +00:00
Add serde transparent flag to fixed_len_vec
This commit is contained in:
@@ -9,6 +9,7 @@ pub use typenum;
|
|||||||
mod impls;
|
mod impls;
|
||||||
|
|
||||||
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)]
|
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)]
|
||||||
|
#[serde(transparent)]
|
||||||
pub struct FixedLenVec<T, N> {
|
pub struct FixedLenVec<T, N> {
|
||||||
vec: Vec<T>,
|
vec: Vec<T>,
|
||||||
_phantom: PhantomData<N>,
|
_phantom: PhantomData<N>,
|
||||||
|
|||||||
Reference in New Issue
Block a user