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]
This commit is contained in:
Alex Crichton
2015-02-06 14:47:55 -08:00
parent 64a4decec7
commit 605225a366
14 changed files with 34 additions and 34 deletions

View File

@@ -49,7 +49,7 @@ macro_rules! array_impls {
}
impl<'a, T> IntoIterator for &'a [T; $N] {
type Iter = Iter<'a, T>;
type IntoIter = Iter<'a, T>;
fn into_iter(self) -> Iter<'a, T> {
self.iter()
@@ -57,7 +57,7 @@ macro_rules! array_impls {
}
impl<'a, T> IntoIterator for &'a mut [T; $N] {
type Iter = IterMut<'a, T>;
type IntoIter = IterMut<'a, T>;
fn into_iter(self) -> IterMut<'a, T> {
self.iter_mut()