]> git.lizzy.rs Git - rust.git/commit
auto merge of #12348 : brunoabinader/rust/libcollections-list-refactory, r=alexcrichton
authorbors <bors@rust-lang.org>
Fri, 28 Feb 2014 05:46:53 +0000 (21:46 -0800)
committerbors <bors@rust-lang.org>
Fri, 28 Feb 2014 05:46:53 +0000 (21:46 -0800)
commitf203fc7daf8d598a7eacee1a135f2fd92dc6382e
treed9519b932dd81fc44b4290554a7722d729d1fdc2
parent700fd35fb9d448c5e1658c3cec9c1153c57cc802
parent4da6d041c268d58654d54b317288c940e5c623fd
auto merge of #12348 : brunoabinader/rust/libcollections-list-refactory, r=alexcrichton

This PR includes:
- Create an iterator for ```List<T>``` called ```Items<T>```;
- Move all list operations inside ```List<T>``` impl;
- Removed functions that are already provided by ```Iterator``` trait;
- Refactor on ```len()``` and ```is_empty``` using ```Container``` trait;
- Bunch of minor fixes;

A replacement for using @ is intended, but still in discussion.

Closes #12344.