Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Derived Default impl may produce invalid values #2

Open
mx-shift opened this issue Oct 19, 2021 · 0 comments
Open

Derived Default impl may produce invalid values #2

mx-shift opened this issue Oct 19, 2021 · 0 comments

Comments

@mx-shift
Copy link

Deriving Default will create an impl that uses the default of the underlying primitive type which will be zero. If MIN > 0, this is an invalid value.

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

No branches or pull requests

1 participant