Skip to content

Add TryFrom to FromRepr#217

Merged
Peternator7 merged 2 commits intoPeternator7:masterfrom
danog:master
Apr 30, 2022
Merged

Add TryFrom to FromRepr#217
Peternator7 merged 2 commits intoPeternator7:masterfrom
danog:master

Conversation

@danog
Copy link
Contributor

@danog danog commented Apr 1, 2022

Similar to #186, automatically implements TryFrom based on the discriminant type.

@Peternator7
Copy link
Owner

Hello @danog, Thanks for the PR! I'm onboard with the general idea. The test failures in 1.32 look legitimate so if you can fix those, we can merge this.

@danog
Copy link
Contributor Author

danog commented Apr 19, 2022

This should do the trick! :D

@Peternator7 Peternator7 merged commit ac757fa into Peternator7:master Apr 30, 2022
Peternator7 added a commit that referenced this pull request Jun 19, 2022
Peternator7 added a commit that referenced this pull request Jun 25, 2022
Peternator7 pushed a commit that referenced this pull request Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants