Function elrond_wasm::non_zero_util::non_zero_usize_from_n_plus_1
source · pub const fn non_zero_usize_from_n_plus_1(n: usize) -> NonZeroUsize
Expand description
This is safe because adding 1 to a positive number makes it greater than one.