Skip to content

Commit

Permalink
test: changed snapshot of expansion of mixed enum serialize derive
Browse files Browse the repository at this point in the history
  • Loading branch information
dj8yf0μl committed Dec 6, 2023
1 parent fd1d117 commit 0b7ecb0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ impl borsh::ser::BorshSerialize for X {
X::A(id0) => {
borsh::BorshSerialize::serialize(id0, writer)?;
}
X::B => {}
X::C { x, y, .. } => {
borsh::BorshSerialize::serialize(x, writer)?;
borsh::BorshSerialize::serialize(y, writer)?;
}
X::D => {}
_ => {}
}
Ok(())
}
Expand Down

0 comments on commit 0b7ecb0

Please sign in to comment.