multiversx_sc_snippets::imports

Function non_zero_usize_one

Source
pub const fn non_zero_usize_one() -> NonZero<usize>
Expand description

This is safe because 1 != 0.