You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
Breaking Change: InvalidIterator now takes a generic type parameter T (defaulted to ()) to specify the item type.
It is no longer a unit struct constant. Construct it using InvalidIterator::new() or InvalidIterator::default() if you need to be generic over the item type, or just use InvalidIterator::INSTANCE if the type is statically known.
Implemented DoubleEndedIterator for InvalidIterator (panics on next_back).
Added associated constant InvalidIterator::INSTANCE (value: InvalidIterator<()>) for const context usage.