diff options
| author | bors <bors@rust-lang.org> | 2013-09-09 00:26:07 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-09-09 00:26:07 -0700 |
| commit | d09f569aac99a4ef2f577d288d547504e3dcf588 (patch) | |
| tree | 339ac953153d71da8730569b8bd26b41dc081539 /doc/tutorial-container.md | |
| parent | eae327032c775813eeb101233a4f7df24eab0a6a (diff) | |
| parent | 6919cf5fe14701621437fcb57f3a0c38fb394c65 (diff) | |
| download | rust-d09f569aac99a4ef2f577d288d547504e3dcf588.tar.gz rust-d09f569aac99a4ef2f577d288d547504e3dcf588.zip | |
auto merge of #9065 : thestinger/rust/iter, r=alexcrichton
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.
Diffstat (limited to 'doc/tutorial-container.md')
| -rw-r--r-- | doc/tutorial-container.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tutorial-container.md b/doc/tutorial-container.md index 7851e9852c1..4ec9ac4b45a 100644 --- a/doc/tutorial-container.md +++ b/doc/tutorial-container.md @@ -200,7 +200,7 @@ for i in range(0, 5) { printf!("%d ", i) // prints "0 1 2 3 4" } -for i in std::iterator::range_inclusive(0, 5) { // needs explicit import +for i in std::iter::range_inclusive(0, 5) { // needs explicit import printf!("%d ", i) // prints "0 1 2 3 4 5" } ~~~ |
