-
Notifications
You must be signed in to change notification settings - Fork 13k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add MutableVector::mut_split(self, pred) -> DoubleEndedIterator<&mut …
…[T]> This method is the mutable version of ImmutableVector::split. It is a DoubleEndedIterator, making mut_rsplit irrelevent. The size_hint method is not optimal because of #9629. At the same time, clarify *split* iterator doc.
- Loading branch information
Showing
1 changed file
with
110 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44fc3c6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from alexcrichton
at TeXitoi@44fc3c6
44fc3c6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging TeXitoi/rust/mut-split-iter = 44fc3c6 into auto
44fc3c6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TeXitoi/rust/mut-split-iter = 44fc3c6 merged ok, testing candidate = 899217c
44fc3c6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/2772
success: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-c/builds/617
success: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-t/builds/617
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/2776
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/1882
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/1881
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/2788
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/1880
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/1881
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/2790
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/1880
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/1880
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/1956
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/2777
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/1881
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/1883
success: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/2552
44fc3c6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 899217c