diff options
| author | bors <bors@rust-lang.org> | 2015-02-10 19:52:04 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-02-10 19:52:04 +0000 |
| commit | bc87efef2cceaec99d30e809cac2b8d22b9e25fc (patch) | |
| tree | 1f59e50bc58a426615cc15594cade8b69f24bdbf /src/libcollections | |
| parent | 88d8ba5ab3b1d22288b021708c3d87464e43b880 (diff) | |
| parent | 3e10785e21b731d536cf9ad9b911e8261862bde7 (diff) | |
| download | rust-bc87efef2cceaec99d30e809cac2b8d22b9e25fc.tar.gz rust-bc87efef2cceaec99d30e809cac2b8d22b9e25fc.zip | |
Auto merge of #22153 - alexcrichton:rollup, r=alexcrichton
Diffstat (limited to 'src/libcollections')
| -rw-r--r-- | src/libcollections/binary_heap.rs | 4 | ||||
| -rw-r--r-- | src/libcollections/bit.rs | 4 | ||||
| -rw-r--r-- | src/libcollections/btree/map.rs | 6 | ||||
| -rw-r--r-- | src/libcollections/btree/set.rs | 4 | ||||
| -rw-r--r-- | src/libcollections/dlist.rs | 6 | ||||
| -rw-r--r-- | src/libcollections/enum_set.rs | 2 | ||||
| -rw-r--r-- | src/libcollections/lib.rs | 2 | ||||
| -rw-r--r-- | src/libcollections/ring_buf.rs | 6 | ||||
| -rw-r--r-- | src/libcollections/vec.rs | 6 | ||||
| -rw-r--r-- | src/libcollections/vec_map.rs | 6 |
10 files changed, 23 insertions, 23 deletions
diff --git a/src/libcollections/binary_heap.rs b/src/libcollections/binary_heap.rs index 275fc34f813..11576fbb00c 100644 --- a/src/libcollections/binary_heap.rs +++ b/src/libcollections/binary_heap.rs @@ -656,7 +656,7 @@ impl<T: Ord> FromIterator<T> for BinaryHeap<T> { } impl<T: Ord> IntoIterator for BinaryHeap<T> { - type Iter = IntoIter<T>; + type IntoIter = IntoIter<T>; fn into_iter(self) -> IntoIter<T> { self.into_iter() @@ -664,7 +664,7 @@ impl<T: Ord> IntoIterator for BinaryHeap<T> { } impl<'a, T> IntoIterator for &'a BinaryHeap<T> where T: Ord { - type Iter = Iter<'a, T>; + type IntoIter = Iter<'a, T>; fn into_iter(self) -> Iter<'a, T> { self.iter() diff --git a/src/libcollections/bit.rs b/src/libcollections/bit.rs index 8ba0eb9b7ef..6d15a264172 100644 --- a/src/libcollections/bit.rs +++ b/src/libcollections/bit.rs @@ -1071,7 +1071,7 @@ impl<'a> RandomAccessIterator for Iter<'a> { } impl<'a> IntoIterator for &'a Bitv { - type Iter = Iter<'a>; + type IntoIter = Iter<'a>; fn into_iter(self) -> Iter<'a> { self.iter() @@ -1883,7 +1883,7 @@ impl<'a> Iterator for SymmetricDifference<'a> { } impl<'a> IntoIterator for &'a BitvSet { - type Iter = SetIter<'a>; + type IntoIter = SetIter<'a>; fn into_iter(self) -> SetIter<'a> { self.iter() diff --git a/src/libcollections/btree/map.rs b/src/libcollections/btree/map.rs index aec50d53808..2cef08725a2 100644 --- a/src/libcollections/btree/map.rs +++ b/src/libcollections/btree/map.rs @@ -463,7 +463,7 @@ impl<K: Ord, V> BTreeMap<K, V> { } impl<K, V> IntoIterator for BTreeMap<K, V> { - type Iter = IntoIter<K, V>; + type IntoIter = IntoIter<K, V>; fn into_iter(self) -> IntoIter<K, V> { self.into_iter() @@ -471,7 +471,7 @@ impl<K, V> IntoIterator for BTreeMap<K, V> { } impl<'a, K, V> IntoIterator for &'a BTreeMap<K, V> { - type Iter = Iter<'a, K, V>; + type IntoIter = Iter<'a, K, V>; fn into_iter(self) -> Iter<'a, K, V> { self.iter() @@ -479,7 +479,7 @@ impl<'a, K, V> IntoIterator for &'a BTreeMap<K, V> { } impl<'a, K, V> IntoIterator for &'a mut BTreeMap<K, V> { - type Iter = IterMut<'a, K, V>; + type IntoIter = IterMut<'a, K, V>; fn into_iter(mut self) -> IterMut<'a, K, V> { self.iter_mut() diff --git a/src/libcollections/btree/set.rs b/src/libcollections/btree/set.rs index c888a261f9d..7cb31ab1f6d 100644 --- a/src/libcollections/btree/set.rs +++ b/src/libcollections/btree/set.rs @@ -481,7 +481,7 @@ impl<T: Ord> FromIterator<T> for BTreeSet<T> { } impl<T> IntoIterator for BTreeSet<T> { - type Iter = IntoIter<T>; + type IntoIter = IntoIter<T>; fn into_iter(self) -> IntoIter<T> { self.into_iter() @@ -489,7 +489,7 @@ impl<T> IntoIterator for BTreeSet<T> { } impl<'a, T> IntoIterator for &'a BTreeSet<T> { - type Iter = Iter<'a, T>; + type IntoIter = Iter<'a, T>; fn into_iter(self) -> Iter<'a, T> { self.iter() diff --git a/src/libcollections/dlist.rs b/src/libcollections/dlist.rs index 748230c5d24..a080146e0ec 100644 --- a/src/libcollections/dlist.rs +++ b/src/libcollections/dlist.rs @@ -831,7 +831,7 @@ impl<A> FromIterator<A> for DList<A> { } impl<T> IntoIterator for DList<T> { - type Iter = IntoIter<T>; + type IntoIter = IntoIter<T>; fn into_iter(self) -> IntoIter<T> { self.into_iter() @@ -839,7 +839,7 @@ impl<T> IntoIterator for DList<T> { } impl<'a, T> IntoIterator for &'a DList<T> { - type Iter = Iter<'a, T>; + type IntoIter = Iter<'a, T>; fn into_iter(self) -> Iter<'a, T> { self.iter() @@ -847,7 +847,7 @@ impl<'a, T> IntoIterator for &'a DList<T> { } impl<'a, T> IntoIterator for &'a mut DList<T> { - type Iter = IterMut<'a, T>; + type IntoIter = IterMut<'a, T>; fn into_iter(mut self) -> IterMut<'a, T> { self.iter_mut() 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() diff --git a/src/libcollections/lib.rs b/src/libcollections/lib.rs index f220724c42e..a542ee5d47d 100644 --- a/src/libcollections/lib.rs +++ b/src/libcollections/lib.rs @@ -30,7 +30,7 @@ #![feature(unboxed_closures)] #![feature(unicode)] #![feature(unsafe_destructor, slicing_syntax)] -#![cfg_attr(test, feature(test))] +#![cfg_attr(test, feature(rand, rustc_private, test))] #![cfg_attr(test, allow(deprecated))] // rand #![feature(no_std)] diff --git a/src/libcollections/ring_buf.rs b/src/libcollections/ring_buf.rs index 76849e6ade8..5f1dc1d2ef4 100644 --- a/src/libcollections/ring_buf.rs +++ b/src/libcollections/ring_buf.rs @@ -1608,7 +1608,7 @@ impl<A> FromIterator<A> for RingBuf<A> { } impl<T> IntoIterator for RingBuf<T> { - type Iter = IntoIter<T>; + type IntoIter = IntoIter<T>; fn into_iter(self) -> IntoIter<T> { self.into_iter() @@ -1616,7 +1616,7 @@ impl<T> IntoIterator for RingBuf<T> { } impl<'a, T> IntoIterator for &'a RingBuf<T> { - type Iter = Iter<'a, T>; + type IntoIter = Iter<'a, T>; fn into_iter(self) -> Iter<'a, T> { self.iter() @@ -1624,7 +1624,7 @@ impl<'a, T> IntoIterator for &'a RingBuf<T> { } impl<'a, T> IntoIterator for &'a mut RingBuf<T> { - type Iter = IterMut<'a, T>; + type IntoIter = IterMut<'a, T>; fn into_iter(mut self) -> IterMut<'a, T> { self.iter_mut() diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs index 70097c956cd..1cd2a89ad60 100644 --- a/src/libcollections/vec.rs +++ b/src/libcollections/vec.rs @@ -1388,7 +1388,7 @@ impl<T> FromIterator<T> for Vec<T> { } impl<T> IntoIterator for Vec<T> { - type Iter = IntoIter<T>; + type IntoIter = IntoIter<T>; fn into_iter(self) -> IntoIter<T> { self.into_iter() @@ -1396,7 +1396,7 @@ impl<T> IntoIterator for Vec<T> { } impl<'a, T> IntoIterator for &'a Vec<T> { - type Iter = slice::Iter<'a, T>; + type IntoIter = slice::Iter<'a, T>; fn into_iter(self) -> slice::Iter<'a, T> { self.iter() @@ -1404,7 +1404,7 @@ impl<'a, T> IntoIterator for &'a Vec<T> { } impl<'a, T> IntoIterator for &'a mut Vec<T> { - type Iter = slice::IterMut<'a, T>; + type IntoIter = slice::IterMut<'a, T>; fn into_iter(mut self) -> slice::IterMut<'a, T> { self.iter_mut() diff --git a/src/libcollections/vec_map.rs b/src/libcollections/vec_map.rs index 739b8d8ce19..93d02de9b55 100644 --- a/src/libcollections/vec_map.rs +++ b/src/libcollections/vec_map.rs @@ -669,7 +669,7 @@ impl<V> FromIterator<(usize, V)> for VecMap<V> { } impl<T> IntoIterator for VecMap<T> { - type Iter = IntoIter<T>; + type IntoIter = IntoIter<T>; fn into_iter(self) -> IntoIter<T> { self.into_iter() @@ -677,7 +677,7 @@ impl<T> IntoIterator for VecMap<T> { } impl<'a, T> IntoIterator for &'a VecMap<T> { - type Iter = Iter<'a, T>; + type IntoIter = Iter<'a, T>; fn into_iter(self) -> Iter<'a, T> { self.iter() @@ -685,7 +685,7 @@ impl<'a, T> IntoIterator for &'a VecMap<T> { } impl<'a, T> IntoIterator for &'a mut VecMap<T> { - type Iter = IterMut<'a, T>; + type IntoIter = IterMut<'a, T>; fn into_iter(mut self) -> IterMut<'a, T> { self.iter_mut() |
