rust/src/libcore/str
Alex Crichton d5f2d3b177 std: Update MatchIndices to return a subslice
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
2015-09-25 09:29:23 -07:00
..
mod.rs std: Update MatchIndices to return a subslice 2015-09-25 09:29:23 -07:00
pattern.rs Auto merge of #27474 - bluss:twoway-reverse, r=brson 2015-08-18 02:02:57 +00:00