nz

Function nz 

Source
pub fn nz(x: usize) -> NonZeroUsize
Expand description

A convenience function.

Persuades the compiler that a non-zero value is, in fact, non-zero.

Will (unsurprisingly) panic if called with a zero.