Function itertools::size_hint::add_scalar

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

Add x correctly to a SizeHint.