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:
parent
3aeea1749d
commit
f656cfdb1b
1 changed files with 0 additions and 3 deletions
|
|
@ -46,9 +46,6 @@ impl<I: Iterator> Iterator for Counted<I> {
|
||||||
}
|
}
|
||||||
item
|
item
|
||||||
}
|
}
|
||||||
fn size_hint(&self) -> (usize, Option<usize>) {
|
|
||||||
self.0.size_hint()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<I: DoubleEndedIterator> DoubleEndedIterator for Counted<I> {
|
impl<I: DoubleEndedIterator> DoubleEndedIterator for Counted<I> {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue