about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorblake2-ppc <blake2-ppc>2013-08-25 08:54:47 +0200
committerblake2-ppc <blake2-ppc>2013-08-25 08:54:47 +0200
commitb59d50368e5223d9c66c7a64c5aeff2b8e9b343f (patch)
tree48710b82bbf526c57191b479288b08e8d6c5aa3e /src/rustllvm/PassWrapper.cpp
parenta17c7e4f2c0cfd800ce873b83334e8b17bef2f70 (diff)
downloadrust-b59d50368e5223d9c66c7a64c5aeff2b8e9b343f.tar.gz
rust-b59d50368e5223d9c66c7a64c5aeff2b8e9b343f.zip
std::str: Double-ended CharSplitIterator
Add new methods `.rsplit_iter()` and `.rsplitn_iter()` for &str.

Separate out CharSplitIterator and CharSplitNIterator,
CharSplitIterator (`split_iter` and `rsplit_iter`) is made double-ended
while `splitn_iter` and `rsplitn_iter` (limited to N splits) are not,
since these don't have the same symmetry.

With CharSplitIterator being double ended, derived iterators like
`line_iter` and `word_iter` are too.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions