]> git.lizzy.rs Git - rust.git/commit
auto merge of #7944 : blake2-ppc/rust/dlist-move-nodes, r=bblum
authorbors <bors@rust-lang.org>
Tue, 23 Jul 2013 11:46:41 +0000 (04:46 -0700)
committerbors <bors@rust-lang.org>
Tue, 23 Jul 2013 11:46:41 +0000 (04:46 -0700)
commit69a237ed7b40221c0f0bf8dc3774fddc3832f62d
tree63fee2882353d025cdcce5c80eb50e0f0661f743
parentdfdb72dbbec1a26010b9222db1607e323bb33699
parent6e24b750e248078a0b3c86203a2e2a01cbf3cc23
auto merge of #7944 : blake2-ppc/rust/dlist-move-nodes, r=bblum

Factor out internal methods to pop/push list nodes so that .merge() and .rotate_to_front(), .rotate_to_back() (new methods) can be implemented without allocating nodes.

With that, some cleanup changes to DList use of Option, and adding a missing Encodable implementation.