Since the macro doesn't make the constants defined public, and only needs to use them internally, we don't need the user of the macro to make up separate names for the constants.
Also: perhaps a name like enum_try_from! would be more appropriate, considering how the role of the macro has changed?
Since the macro doesn't make the constants defined public, and only needs to use them internally, we don't need the user of the macro to make up separate names for the constants.
Also: perhaps a name like
enum_try_from!
would be more appropriate, considering how the role of the macro has changed?