Skip to content

Commit

Permalink
fix: Flatten the cons field in the augmented hlist
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-zero committed Apr 24, 2023
1 parent fca5856 commit 2a8fbad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hlist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ pub struct NilPlus<T> {
pub struct ConsPlus<T, U, V> {
#[serde(flatten)]
pub field: T,
#[serde(flatten)]
cons: Cons<U, V>,
}

Expand Down

0 comments on commit 2a8fbad

Please sign in to comment.