fix: consume string after decoding in define_str_enum
Summary
- fix: consume string after decoding in define_str_enum
Previously str enums did not advance the slice after decoding a value from it, which lead to errors when str enums were used as types of fields of structs.
Ensure that
-
New code is covered by tests -
API is documented -
Changelog is up to date -
Version is bumped in the appropriateCargo.toml
files
Edited by Егор Ивков