summary refs log tree commit diff
path: root/doc/po/tutorial-container.md.pot
AgeCommit message (Collapse)AuthorLines
2013-09-21Update version numbers to 0.8Brian Anderson-1/+1
2013-08-15auto merge of #8490 : huonw/rust/fromiterator-extendable, r=catamorphismbors-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-15std: 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-12doc: Update .pot filesgifnksm-38/+110
2013-08-03remove obsolete `foreach` keywordDaniel Micay-5/+5
this has been replaced by `for`
2013-08-01migrate many `for` loops to `foreach`Daniel Micay-5/+5
2013-07-17Add project information to l10n templates.OGINO Masanori-7/+163
2013-07-07Generate initial translatable templates for documentationLuca Bruno-0/+445
These files are automatically genereated by `make docs-l10n` (via po4a), which will also take of updating them if the original .md changes. Signed-off-by: Luca Bruno <lucab@debian.org>