Function chunk_range

Source
pub fn chunk_range(
    range: Range<usize>,
    chunk_size: usize,
) -> impl Iterator<Item = Range<usize>>