diff options
| author | bors <bors@rust-lang.org> | 2015-09-26 20:06:51 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-09-26 20:06:51 +0000 |
| commit | 54f7b1d455915794ab000448799c5092c57535c1 (patch) | |
| tree | 932679fbce03884e869d0fe91faddb5fec77fc52 /src/rustllvm/RustWrapper.cpp | |
| parent | c9c79084b0b60766b5e330074206b27007b237c0 (diff) | |
| parent | d5f2d3b1773d70bf3d32b94ad2a2bf3125bf743e (diff) | |
| download | rust-54f7b1d455915794ab000448799c5092c57535c1.tar.gz rust-54f7b1d455915794ab000448799c5092c57535c1.zip | |
Auto merge of #28632 - alexcrichton:update-match-indices, r=Kimundi
This commit updates the `MatchIndices` and `RMatchIndices` iterators to follow the same pattern as the `chars` and `char_indices` iterators. The `matches` iterator currently yield `&str` elements, so the `MatchIndices` iterator now yields the index of the match as well as the `&str` that matched (instead of start/end indexes). cc #27743
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
