Skip to content

v0.4.0

Choose a tag to compare

@MaxMahem MaxMahem released this 24 Jan 12:02
· 2 commits to main since this release
cad860b

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.