diff options
| author | bors <bors@rust-lang.org> | 2013-12-20 20:01:41 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-12-20 20:01:41 -0800 |
| commit | 20f13b228f5e5cc10e19c045a0dd52ec29b6cc45 (patch) | |
| tree | f387a8adc8ef497cc0f5792e3839b7fb541ae5fc /src/libstd/path | |
| parent | 35fc0c8fe4210517508d624695e81c47bda00602 (diff) | |
| parent | 765bc9064f9b38ae227a2c61a8ed34f67f0afd0f (diff) | |
| download | rust-20f13b228f5e5cc10e19c045a0dd52ec29b6cc45.tar.gz rust-20f13b228f5e5cc10e19c045a0dd52ec29b6cc45.zip | |
auto merge of #10930 : DaGenix/rust/remove-unnecessary-fields, r=alexcrichton
3 minor clean-ups now that #9629 is fixed: * Update MutChunkIter to remove the ```remainder``` that existed just to allow the size_hint() method to be implemented. This is no longer necessary since we can just access the length of the slice directly. * Update MutSplitIterator to address the FIXME in its size_hint() method. This method was only partially implemented due to the issue. Also, implement a minor optimization in the case that its the last iteration. * Update ByRef iterator to implement the size_hint() method. I noticed that MutSplitIterator returns an empty slice if called on an empty slice. I don't know if this is intended or not, but I left the ```finished``` field in-place to preserve this behavior. @TeXitoi @blake2-ppc
Diffstat (limited to 'src/libstd/path')
0 files changed, 0 insertions, 0 deletions
