Function itertools::size_hint::sub_scalar

source ยท
pub fn sub_scalar(
    sh: (usize, Option<usize>),
    x: usize,
) -> (usize, Option<usize>)
Expand description

Subtract x correctly from a SizeHint.