]> git.lizzy.rs Git - rust.git/commit
auto merge of #20185 : csouth3/rust/dlist-deprecate, r=alexcrichton
authorbors <bors@rust-lang.org>
Sun, 28 Dec 2014 16:21:58 +0000 (16:21 +0000)
committerbors <bors@rust-lang.org>
Sun, 28 Dec 2014 16:21:58 +0000 (16:21 +0000)
commit63666317214788329e0b7680929b09823f127d83
tree369eba7a422299d874ef6c7f623a923cc07981a9
parent3e6b29f8ad1ddfcb134d743a66ee5f467e16c350
parent6bb59e4e1988800c07611ce67bc82f145d4f195f
auto merge of #20185 : csouth3/rust/dlist-deprecate, r=alexcrichton

This PR deprecates the `DList::ListInsertion` trait, in accordance with rust-lang/rfcs#509.  The functions which were previously part of the ListInsertion impl for `DList::IterMut` have been moved to be inherent methods on the iterator itself, and appropriate doctests have been added.
src/libcollections/dlist.rs