Closed rsnively closed 1 year ago
The example code in additional_attributes brings up a deprecation warning related to issue #132 .
This change updates the example code to use strum_macros::Display instead of strum_macros::ToString (as well as removing some unneeded use statements).
strum_macros::Display
strum_macros::ToString
Current example code with warning:
Fixed:
I think this was supposed to make it in with commit #180 but accidentally got overwritten in commit #182
thanks!
The example code in additional_attributes brings up a deprecation warning related to issue #132 .
This change updates the example code to use
strum_macros::Display
instead ofstrum_macros::ToString
(as well as removing some unneeded use statements).Current example code with warning:
Fixed: