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
..
2015-04-28 17:23:45 -07:00
2015-04-09 12:51:19 -04:00
2015-04-30 17:43:46 -04:00
2015-04-28 17:23:45 -07:00
2015-04-28 17:23:45 -07:00
2015-03-18 16:32:32 -07:00
2015-04-27 19:37:13 +02:00
2015-04-28 17:23:45 -07:00