aetherlight: drop Counted's size_hint override

Delegation to the inner iterator's hint; cargo-mutants found only equivalent
mutants of it. The default hint costs nothing here.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
soul 2026-11-20 06:19:40 +01:00
commit f656cfdb1b

View file

@ -46,9 +46,6 @@ impl<I: Iterator> Iterator for Counted<I> {
}
item
}
fn size_hint(&self) -> (usize, Option<usize>) {
self.0.size_hint()
}
}
impl<I: DoubleEndedIterator> DoubleEndedIterator for Counted<I> {