Skip to content

Conversation

tarcieri
Copy link
Member

Replaces the previous type-specific NonZero::const_new methods with more idiomatic Limb::to_nz/Uint::to_nz methods which can be called on a value and return ConstCtChoice<NonZero<_>>.

@tarcieri tarcieri requested a review from fjarri December 20, 2023 01:43
Replaces the previous type-specific `NonZero::const_new` methods with
more idiomatic `Limb::to_nz`/`Uint::to_nz` methods which can be called
on a value and return `ConstCtChoice<NonZero<_>>`.
@tarcieri tarcieri merged commit eb85103 into master Dec 20, 2023
@tarcieri tarcieri deleted the to_nz branch December 20, 2023 01:50
@tarcieri tarcieri mentioned this pull request Dec 20, 2023
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.

1 participant