Add From<NonZero*> impls for wider NonZero types #66196
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
For example in
getrandom
to convertNonZeroU16
toNonZeroU32
we have to write code like this:Instead of using a simple
e.into()
.This issue has been assigned to @peter-wilkins via this comment.
The text was updated successfully, but these errors were encountered: