| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-08-15 | update the iterator tutorial | Daniel Micay | -15/+11 | |
| 2013-08-15 | std: Move the iterator param on FromIterator and Extendable to the method. | Huon Wilson | -2/+2 | |
| If they are on the trait then it is extremely annoying to use them as generic parameters to a function, e.g. with the iterator param on the trait itself, if one was to pass an Extendable<int> to a function that filled it either from a Range or a Map<VecIterator>, one needs to write something like: fn foo<E: Extendable<int, Range<int>> + Extendable<int, Map<&'self int, int, VecIterator<int>>> (e: &mut E, ...) { ... } since using a generic, i.e. `foo<E: Extendable<int, I>, I: Iterator<int>>` means that `foo` takes 2 type parameters, and the caller has to specify them (which doesn't work anyway, as they'll mismatch with the iterators used in `foo` itself). This patch changes it to: fn foo<E: Extendable<int>>(e: &mut E, ...) { ... } | ||||
| 2013-08-03 | make `for` parse as `foreach` does | Daniel Micay | -8/+7 | |
| Closes #6997 | ||||
| 2013-08-01 | migrate many `for` loops to `foreach` | Daniel Micay | -9/+8 | |
| 2013-07-24 | improve container/iterator tutorial | Daniel Micay | -5/+7 | |
| 2013-07-24 | document random-access iterators | Daniel Micay | -0/+28 | |
| 2013-07-24 | expand on double-ended iterators in the tutorial | Daniel Micay | -6/+22 | |
| 2013-07-12 | extend the iterator tutorial | Daniel Micay | -0/+101 | |
| documents conversion, size hints and double-ended iterators and adds more of the traits to the prelude | ||||
| 2013-07-04 | Implement consuming iterators for ~[], remove vec::{consume, ↵ | Huon Wilson | -1/+1 | |
| consume_reverse, map_consume}. | ||||
| 2013-06-28 | add a tutorial on containers and iterators | Daniel Micay | -0/+207 | |
