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. --- src/libstd/select.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstd/select.rs') diff --git a/src/libstd/select.rs b/src/libstd/select.rs index 9f4fd8db788..94db609e9c7 100644 --- a/src/libstd/select.rs +++ b/src/libstd/select.rs @@ -11,7 +11,7 @@ use cell::Cell; use comm; use container::Container; -use iterator::{Iterator, DoubleEndedIterator}; +use iter::{Iterator, DoubleEndedIterator}; use option::*; // use either::{Either, Left, Right}; // use rt::kill::BlockedTask; @@ -134,7 +134,7 @@ mod test { use comm::GenericChan; use task; use cell::Cell; - use iterator::{Iterator, range}; + use iter::{Iterator, range}; #[test] #[should_fail] fn select_doesnt_get_trolled() { -- cgit 1.4.1-3-g733a5