[][src]Function sunrise_kernel::checks::check_nonzero_length

pub fn check_nonzero_length(length: usize) -> Result<(), KernelError>

checks that a length is not 0.