Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement
FusedIterator
for all iterator types
All iterator types provided by this crate traverses nodes or edges, and they return `None` forever once the traversal is done. For such iterators, it is recommended to implement `FusedIterator` trait to make `iter.fuse()` efficient. See rustdoc for `core::iter::FusedIterator`.
- Loading branch information