rm CopyableOrderedIter
replaced with OrdIterator
This commit is contained in:
parent
6c547e42c8
commit
e097d5eaba
5 changed files with 4 additions and 33 deletions
|
@ -2619,23 +2619,6 @@ impl<A:Copy> old_iter::CopyableIter<A> for @[A] {
|
|||
}
|
||||
}
|
||||
|
||||
impl<'self,A:Copy + Ord> old_iter::CopyableOrderedIter<A> for &'self [A] {
|
||||
fn min(&self) -> A { old_iter::min(self) }
|
||||
fn max(&self) -> A { old_iter::max(self) }
|
||||
}
|
||||
|
||||
// FIXME(#4148): This should be redundant
|
||||
impl<A:Copy + Ord> old_iter::CopyableOrderedIter<A> for ~[A] {
|
||||
fn min(&self) -> A { old_iter::min(self) }
|
||||
fn max(&self) -> A { old_iter::max(self) }
|
||||
}
|
||||
|
||||
// FIXME(#4148): This should be redundant
|
||||
impl<A:Copy + Ord> old_iter::CopyableOrderedIter<A> for @[A] {
|
||||
fn min(&self) -> A { old_iter::min(self) }
|
||||
fn max(&self) -> A { old_iter::max(self) }
|
||||
}
|
||||
|
||||
impl<A:Clone> Clone for ~[A] {
|
||||
#[inline]
|
||||
fn clone(&self) -> ~[A] {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue