multiversx_sc_scenario::imports

Function non_zero_usize_plus

Source
pub const fn non_zero_usize_plus(a: NonZero<usize>, b: usize) -> NonZero<usize>
Expand description

This is safe because adding a non-zero number with a positive one yields a non-zero number.