Skip to content

fix: consume string after decoding in define_str_enum

Егор Ивков requested to merge e-ivkov/fix-encode into master

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 appropriate Cargo.toml files
Edited by Егор Ивков

Merge request reports