Closed
Description
It seems like there are some inconsistencies regarding iterators in vec.rs. Just to pick two examples:
- SplitIterator and MutSplitIterator yield an empty slice when used on an empty vector. ChunkIter and MutChunkIter do not.
- SplitIterator and MutSplitIterator are named differently than ChunkIter and MutChunkIter.
Whats the correct behavior for vec iterators on an empty slice? Is there a good reason that I'm not thinking of that they behave differently?
Whats the correct naming convention?
Metadata
Metadata
Assignees
Labels
No labels