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

uint: make fn one const #650

Merged
merged 4 commits into from
Jun 15, 2022
Merged

uint: make fn one const #650

merged 4 commits into from
Jun 15, 2022

Conversation

webmaster128
Copy link
Contributor

Hey there! I think this is a nice addition for API consistency with zero() and to allow basic math on a const context.

Copy link
Member

@ordian ordian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

uint/CHANGELOG.md Outdated Show resolved Hide resolved
@ordian ordian merged commit 3cc2bcb into paritytech:master Jun 15, 2022
@webmaster128 webmaster128 deleted the const-one branch June 15, 2022 11:01
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.

None yet

2 participants