Open kpreid opened 2 years ago
These should also be opt-in (controlled by derive helper attributes or separate derive macros) to ensure that dependents don't accidentally break semver by changing the types of private fields whose properties were exposed.
FusedIterator
#29ExactSizeIterator
, at least for fieldless enums.Iterator::size_hint()
DoubleEndedIterator
— or not, because that has costs to implement.Iterator::fold()
andIterator::try_fold()
overrides.Each of these should have tests, and documentation for the conditions under which it exists.