IntoIter and FilterEntry<IntoIter, P> will return None once they returned None.
Implementing FusedIterator allows Iterator::fuse method to be optimized.
Calling next on a fused iterator that has returned None once is guaranteed to return None again. This trait should be implemented by all iterators that behave this way because it allows optimizing Iterator::fuse.
IntoIter
andFilterEntry<IntoIter, P>
will returnNone
once they returnedNone
. ImplementingFusedIterator
allowsIterator::fuse
method to be optimized.I checked
next()
implementations lightly and they seem to be already fused.