Peternator7 / strum

A small rust library for adding custom derives to enums
https://crates.io/crates/strum
MIT License
1.8k stars 152 forks source link

feat(as_ref_str): enable `prefix` attribute for `AsRefStr` derive #334

Closed vbrvk closed 8 months ago

vbrvk commented 9 months ago

Enable prefix attribute for AsRefStr derive so

(i.e. always enum.as_ref().to_string() == enum.to_string()).

Is true again

seanpianka commented 9 months ago

Is this PR related to some bug in #296?