rust/src/libcollections
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
..
btree Avoid zero-sized leaf allocations in BTreeMap 2015-09-18 15:27:17 -04:00
binary_heap.rs Auto merge of #28156 - nagisa:binaryheap-debug, r=Gankro 2015-09-02 06:37:32 +00:00
borrow.rs Move the Borrow and BorrowMut traits to libcore. 2015-08-22 13:58:39 +02:00
enum_set.rs collections: Add issues for unstable features 2015-08-15 18:09:17 -07:00
fmt.rs re-export debug builders in std::fmt 2015-08-28 13:39:25 -04:00
lib.rs Correctly walk import lists in AST visitors 2015-09-17 14:13:12 +03:00
linked_list.rs Make iter::order functions into methods on Iterator 2015-08-26 23:23:57 -07:00
macros.rs Add note about clone in docs for vec![] 2015-09-07 03:57:20 +05:30
range.rs collections: Add issues for unstable features 2015-08-15 18:09:17 -07:00
slice.rs collections: Add issues for unstable features 2015-08-15 18:09:17 -07:00
str.rs std: Update MatchIndices to return a subslice 2015-09-25 09:29:23 -07:00
string.rs std: Stabilize/deprecate features for 1.4 2015-09-11 09:48:48 -07:00
vec_deque.rs VecDeque: Use power of two capacity even for zero sized types 2015-09-19 12:50:52 +02:00
vec.rs Add comment. 2015-09-20 22:23:35 +03:00