Skip to content

Use ::MAX constant instead of deprecated ::max_value() associated method - #1515

Merged
newpavlov merged 1 commit into
RustCrypto:masterfrom
nazar-pc:max-constant
Aug 10, 2026
Merged

Use ::MAX constant instead of deprecated ::max_value() associated method#1515
newpavlov merged 1 commit into
RustCrypto:masterfrom
nazar-pc:max-constant

Conversation

@nazar-pc

@nazar-pc nazar-pc commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Fixes #1514

@newpavlov
newpavlov merged commit 26a2ed8 into RustCrypto:master Aug 10, 2026
16 checks passed
@nazar-pc
nazar-pc deleted the max-constant branch August 10, 2026 07:24
@nazar-pc

Copy link
Copy Markdown
Contributor Author

Would it be possible to have a patch release with this some time soon? Otherwise using latest nightlies is getting quite annoying with new warnings.

@newpavlov

Copy link
Copy Markdown
Member

Yes, I plan to cut a new release soon after landing a slightly modified version of #1486.

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.

Use u8::MAX instead of u8::max_value()

2 participants