SEI4JZIPV4FTRNGOAMKREFHPTMLLLQCG6J7DQ3L7CM3GSZOC7IFAC
impl ExactSizeIterator for Chain<'_> {
fn len(&self) -> usize {
match &self.state {
Linked { mut next } => {
let mut len = 0;
while let Some(cause) = next {
next = cause.source();
len += 1;
}
len
}
Buffered { rest } => rest.len(),
}
}
}