Closed ModProg closed 2 years ago
This looks great. One question I had is: should there be an error if you specify
enum_repr
on a struct? It obviously has no effect, but I think it would be nice to tell the user it's pointless to use on a struct.
not a bad idea, should be easy to add.
Thank you again! I'll amend the docs with the new details on this impl.
This looks great. One question I had is: should there be an error if you specify
enum_repr
on a struct? It obviously has no effect, but I think it would be nice to tell the user it's pointless to use on a struct.