We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
For example in getrandom to convert NonZeroU16 to NonZeroU32 we have to write code like this:
getrandom
NonZeroU16
NonZeroU32
num::NonZeroU32::new(e.get() as u32).unwrap().into()
Instead of using a simple e.into().
e.into()
This issue has been assigned to @peter-wilkins via this comment.
For example in
getrandomto convertNonZeroU16toNonZeroU32we have to write code like this:Instead of using a simple
e.into().This issue has been assigned to @peter-wilkins via this comment.