]> git.lizzy.rs Git - rust.git/commit
collections: Implement vec::drain(range) according to RFC 574
authorUlrik Sverdrup <root@localhost>
Mon, 27 Apr 2015 17:37:13 +0000 (19:37 +0200)
committerUlrik Sverdrup <root@localhost>
Tue, 28 Apr 2015 09:38:33 +0000 (11:38 +0200)
commitb475fc7d6aa1cafa91790c273908fddfb669a82e
treea59c68bdd6ff050e718b19cf3c081e832af4fff7
parent9993a43e5c1b42ed42ae46749b1cdd8874db602f
collections: Implement vec::drain(range) according to RFC 574

Old `.drain()` on vec is performed using `.drain(..)` now.

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

[breaking-change]
src/libcollections/binary_heap.rs
src/libcollections/lib.rs
src/libcollections/vec.rs
src/libcollections/vec_map.rs
src/libcollectionstest/lib.rs
src/libcollectionstest/vec.rs
src/test/run-pass/sync-send-iterators-in-libcollections.rs