Macro diem_infallible::NonZeroUsize
source · macro_rules! NonZeroUsize { ($num:expr) => { ... }; ($num:expr, $message:literal) => { ... }; }
Expand description
A wrapper around std::num::NonZeroUsize
to no longer worry about unwrap()