diff options
| author | Palmer Cox <p@lmercox.com> | 2013-12-11 20:51:22 -0500 |
|---|---|---|
| committer | “Palmer <pcox@intelligent.net> | 2013-12-20 20:40:16 -0500 |
| commit | 2c539d4eecec3c63f878a3798e0ea4df79b46f19 (patch) | |
| tree | 2142e50e6cc40f15c51305ec2bd77ca01023e1ec /src/libstd/path | |
| parent | efd619467df28b48b97250b2857b18a032b5dab6 (diff) | |
| download | rust-2c539d4eecec3c63f878a3798e0ea4df79b46f19.tar.gz rust-2c539d4eecec3c63f878a3798e0ea4df79b46f19.zip | |
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 #9629 is fixed.
Diffstat (limited to 'src/libstd/path')
0 files changed, 0 insertions, 0 deletions
