Function reth_chainspec::arbitrary::size_hint::and_all
pub fn and_all(hints: &[(usize, Option<usize>)]) -> (usize, Option<usize>)
Expand description
Take the sum of all of the given size hints.
If hints
is empty, returns (0, Some(0))
, aka the size of consuming
nothing.