about summary refs log tree commit diff
path: root/src/libcollections/enum_set.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-02-06 14:47:55 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-02-09 15:58:13 -0800
commit605225a366b62f29f5fd4b03cc298fff03bc3bdf (patch)
tree50d9d4dc2b5c3e9aa552cb408a5dcc7e192beede /src/libcollections/enum_set.rs
parent64a4decec779ee0a30585a12352d20a54b722506 (diff)
downloadrust-605225a366b62f29f5fd4b03cc298fff03bc3bdf.tar.gz
rust-605225a366b62f29f5fd4b03cc298fff03bc3bdf.zip
std: Rename IntoIterator::Iter to IntoIter
This is in preparation for stabilization of the `IntoIterator` trait. All
implementations and references to `Iter` need to be renamed to `IntoIter`.

[breaking-change]
Diffstat (limited to 'src/libcollections/enum_set.rs')
-rw-r--r--src/libcollections/enum_set.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/enum_set.rs b/src/libcollections/enum_set.rs
index da146506077..da533d34703 100644
--- a/src/libcollections/enum_set.rs
+++ b/src/libcollections/enum_set.rs
@@ -258,7 +258,7 @@ impl<E:CLike> FromIterator<E> for EnumSet<E> {
 }
 
 impl<'a, E> IntoIterator for &'a EnumSet<E> where E: CLike {
-    type Iter = Iter<E>;
+    type IntoIter = Iter<E>;
 
     fn into_iter(self) -> Iter<E> {
         self.iter()