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

Use self instead of &self in value() and widen() #6

Conversation

danlehmann
Copy link
Owner

This ensures that value() is taken from the uX instead of Number, which isn't const.

This ensures that value() is taken from the uX instead of Number, which isn't const.
@danlehmann danlehmann merged commit e093f57 into main Dec 16, 2022
@danlehmann danlehmann deleted the 4-cannot-call-non-const-fn-uintu8-2-as-arbitrary_intnumbervalue-after-upgrade-from-121-to-122 branch May 15, 2023 18:10
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.

cannot call non-const fn `<UInt<u8, 2> as arbitrary_int::Number>::value after upgrade from 1.2.1 to 1.2.2
1 participant