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/ptr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/ptr.rs') diff --git a/src/libstd/ptr.rs b/src/libstd/ptr.rs index 38d8a244895..fafb1511973 100644 --- a/src/libstd/ptr.rs +++ b/src/libstd/ptr.rs @@ -14,7 +14,7 @@ use cast; use clone::Clone; #[cfg(not(test))] use cmp::Equiv; -use iterator::{range, Iterator}; +use iter::{range, Iterator}; use option::{Option, Some, None}; #[cfg(stage0)] use sys; -- cgit 1.4.1-3-g733a5