Closed
Description
For example in getrandom
to convert NonZeroU16
to NonZeroU32
we have to write code like this:
num::NonZeroU32::new(e.get() as u32).unwrap().into()
Instead of using a simple e.into()
.
This issue has been assigned to @peter-wilkins via this comment.