File tree 1 file changed +0
-13
lines changed
1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,6 @@ use core::ptr;
76
76
use core:: ptr:: Shared ;
77
77
use core:: slice;
78
78
79
- use super :: SpecExtend ;
80
79
use super :: range:: RangeArgument ;
81
80
82
81
/// A contiguous growable array type, written `Vec<T>` but pronounced 'vector.'
@@ -1554,22 +1553,10 @@ impl<'a, T> IntoIterator for &'a mut Vec<T> {
1554
1553
impl < T > Extend < T > for Vec < T > {
1555
1554
#[ inline]
1556
1555
fn extend < I : IntoIterator < Item = T > > ( & mut self , iter : I ) {
1557
- <Self as SpecExtend < I > >:: spec_extend ( self , iter) ;
1558
- }
1559
- }
1560
-
1561
- impl < I : IntoIterator > SpecExtend < I > for Vec < I :: Item > {
1562
- default fn spec_extend ( & mut self , iter : I ) {
1563
1556
self . extend_desugared ( iter. into_iter ( ) )
1564
1557
}
1565
1558
}
1566
1559
1567
- impl < T > SpecExtend < Vec < T > > for Vec < T > {
1568
- fn spec_extend ( & mut self , ref mut other: Vec < T > ) {
1569
- self . append ( other) ;
1570
- }
1571
- }
1572
-
1573
1560
trait IsTrustedLen : Iterator {
1574
1561
fn trusted_len ( & self ) -> Option < usize > { None }
1575
1562
}
You can’t perform that action at this time.
0 commit comments