summary refs log tree commit diff
path: root/src/libstd/iter.rs
AgeCommit message (Collapse)AuthorLines
2013-09-25rustdoc: Change all code-blocks with a scriptAlex Crichton-64/+64
find src -name '*.rs' | xargs sed -i '' 's/~~~.*{\.rust}/```rust/g' find src -name '*.rs' | xargs sed -i '' 's/ ~~~$/ ```/g' find src -name '*.rs' | xargs sed -i '' 's/^~~~$/ ```/g'
2013-09-17Document a few undocumented modules in libstdAlex Crichton-4/+51
Hopefull this will make our libstd docs appear a little more "full".
2013-09-15iter: add the edge case tests for `range` tooDaniel Micay-0/+10
2013-09-15iter: fix `RangeInclusive`'s `DoubleEndedIterator`Daniel Micay-3/+5
2013-09-15iter: fix `range_inclusive` when `start > stop`Daniel Micay-4/+10
2013-09-15fix range_step{,_inclusive} with negative stepDaniel Micay-16/+10
2013-09-14iter: add `RangeStep` and `RangeStepInclusive`Daniel Micay-1/+90
2013-09-14iter: move Counter impl to the proper placeDaniel Micay-14/+14
2013-09-14iter: replace comment with a docstringDaniel Micay-5/+3
2013-09-14iter: fix range docstringsDaniel Micay-2/+2
2013-09-12std: Restore Option::chain{,_mut}_ref as and_then{,_mut}_refErick Tryzelaar-12/+2
2013-09-12std: Rename {Option,Result}::chain{,_err}* to {and_then,or_else}Erick Tryzelaar-5/+14
2013-09-09rename `std::iterator` to `std::iter`Daniel Micay-0/+2659
The trait will keep the `Iterator` naming, but a more concise module name makes using the free functions less verbose. The module will define iterables in addition to iterators, as it deals with iteration in general.
2013-08-29Remove the iter module.Jason Fager-26/+0
Moves the Times trait to num while the question of whether it should exist at all gets hashed out as a completely separate question.
2013-08-01std: Change `Times` trait to use `do` instead of `for`blake2-ppc-2/+2
Change the former repetition:: for 5.times { } to:: do 5.times { } .times() cannot be broken with `break` or `return` anymore; for those cases, use a numerical range loop instead.
2013-07-01Move most iter functionality to extra, fixes #7343Jordi Boggiano-302/+5
2013-06-23vec: remove BaseIter implementationDaniel Micay-18/+18
I removed the `static-method-test.rs` test because it was heavily based on `BaseIter` and there are plenty of other more complex uses of static methods anyway.
2013-06-18replace #[inline(always)] with #[inline]. r=burningtree.Graydon Hoare-5/+5
2013-06-14add IteratorUtil to the preludeDaniel Micay-2/+0
2013-06-09remove unused import warningsHuon Wilson-1/+0
2013-06-06FixupsMarvin Löbel-11/+1
2013-06-06Removed IteratorUtil::to_vec and iter::to_vecMarvin Löbel-33/+11
2013-06-06Added iter::FromIterMarvin Löbel-3/+31
2013-05-30Require documentation by default for libstdAlex Crichton-0/+1
Adds documentation for various things that I understand. Adds #[allow(missing_doc)] for lots of things that I don't understand.
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-0/+3
2013-05-27syntax highlight code examples in docstringsDaniel Micay-23/+23
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-0/+326
This only changes the directory names; it does not change the "real" metadata names.