petgraph / fixedbitset

A simple bitset container for Rust
https://docs.rs/fixedbitset/
Apache License 2.0
124 stars 47 forks source link

Improve Iterator implementations #90

Closed james7132 closed 1 year ago

james7132 commented 1 year ago

This PR adds FusedIterator implementations to all of the iterators in the crate: all of them satisfy it's requirements, as well as implemented the optional Iterator::size_hint to help with Iterator::collect implementations.

Masks now also implements ExactSizeIterator.