From 6919cf5fe14701621437fcb57f3a0c38fb394c65 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sun, 8 Sep 2013 11:01:16 -0400 Subject: rename `std::iterator` to `std::iter` 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. --- doc/tutorial-container.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/tutorial-container.md') 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" } ~~~ -- cgit 1.4.1-3-g733a5