Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update next() and size_hint() for MutSpliterIterator
Update the next() method to just return self.v in the case that we've reached the last element that the iterator will yield. This produces equivalent behavior as before, but without the cost of updating the field. Update the size_hint() method to return a better hint now that rust-lang#9629 is fixed.
- Loading branch information