serde_test::Token::UnitVariant
should include variant_index
#21
Labels
serde_test::Token::UnitVariant
should include variant_index
#21
Currently I'm not able to assert that my enum is correctly serialized using
serde_test
.Note that
Serializer::serialize_unit_variant
accepts three arguments:Only two of them are recorded in
Token::UnitVariant
:I'd expect
variant_index
field to be recorded, though adding it now would require major version bump.The text was updated successfully, but these errors were encountered: