rust/src/libcollections
bors 700b4c160b Auto merge of #25028 - bluss:drain-string, r=alexcrichton
collections: Implement String::drain(range) according to RFC 574

`.drain(range)` is unstable and under feature(collections_drain).

This adds a safe way to remove any range of a String as efficiently as
possible.

As noted in the code, this drain iterator has none of the memory safety
issues of the vector version.

RFC tracking issue is #23055
2015-05-02 04:35:33 +00:00
..
btree Register new snapshots 2015-04-28 17:23:45 -07:00
binary_heap.rs collections: Implement vec::drain(range) according to RFC 574 2015-04-28 11:38:33 +02:00
bit.rs rollup merge of #24636: alexcrichton/remove-deprecated 2015-04-21 15:28:53 -07:00
borrow.rs Fix borrow docs 2015-04-09 12:51:19 -04:00
enum_set.rs std: Add Default/IntoIterator/ToOwned to the prelude 2015-04-17 16:37:30 -07:00
fmt.rs Clarify intention wrt integers 2015-04-30 17:43:46 -04:00
lib.rs Register new snapshots 2015-04-28 17:23:45 -07:00
linked_list.rs Register new snapshots 2015-04-28 17:23:45 -07:00
macros.rs Register new snapshots 2015-03-18 16:32:32 -07:00
range.rs collections: Add trait RangeArgument 2015-04-27 19:37:13 +02:00
slice.rs std: Remove deprecated AsOsStr/Str/AsSlice traits 2015-04-21 11:37:34 -07:00
str.rs rollup merge of #24636: alexcrichton/remove-deprecated 2015-04-21 15:28:53 -07:00
string.rs Auto merge of #25028 - bluss:drain-string, r=alexcrichton 2015-05-02 04:35:33 +00:00
vec_deque.rs Register new snapshots 2015-04-28 17:23:45 -07:00
vec_map.rs collections: Implement vec::drain(range) according to RFC 574 2015-04-28 11:38:33 +02:00
vec.rs std: Remove index notation on slice iterators 2015-05-01 10:40:46 -07:00