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.
E.g. NonZeroU32::new_unchecked is a const fn but NonZeroU32::new is not; this means that defining constant values is unsafe.
NonZeroU32::new_unchecked
const fn
NonZeroU32::new
unsafe
pub const X: NonZeroU32 = unsafe { NonZeroU32::new_unchecked(123) };