@@ -2899,7 +2899,7 @@ macro_rules! iterator {
2899
2899
}
2900
2900
2901
2901
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2902
- impl <' a , T > ExactSizeIterator for $name<' a , T > {
2902
+ impl <T > ExactSizeIterator for $name<' _ , T > {
2903
2903
#[ inline( always) ]
2904
2904
fn len( & self ) -> usize {
2905
2905
len!( self )
@@ -3094,10 +3094,10 @@ macro_rules! iterator {
3094
3094
}
3095
3095
3096
3096
#[ stable( feature = "fused" , since = "1.26.0" ) ]
3097
- impl <' a , T > FusedIterator for $name<' a , T > { }
3097
+ impl <T > FusedIterator for $name<' _ , T > { }
3098
3098
3099
3099
#[ unstable( feature = "trusted_len" , issue = "37572" ) ]
3100
- unsafe impl <' a , T > TrustedLen for $name<' a , T > { }
3100
+ unsafe impl <T > TrustedLen for $name<' _ , T > { }
3101
3101
}
3102
3102
}
3103
3103
@@ -4361,8 +4361,8 @@ pub struct RChunks<'a, T:'a> {
4361
4361
4362
4362
// FIXME(#26925) Remove in favor of `#[derive(Clone)]`
4363
4363
#[ stable( feature = "rchunks" , since = "1.31.0" ) ]
4364
- impl < ' a , T > Clone for RChunks < ' a , T > {
4365
- fn clone ( & self ) -> RChunks < ' a , T > {
4364
+ impl < T > Clone for RChunks < ' _ , T > {
4365
+ fn clone ( & self ) -> Self {
4366
4366
RChunks {
4367
4367
v : self . v ,
4368
4368
chunk_size : self . chunk_size ,
@@ -4451,13 +4451,13 @@ impl<'a, T> DoubleEndedIterator for RChunks<'a, T> {
4451
4451
}
4452
4452
4453
4453
#[ stable( feature = "rchunks" , since = "1.31.0" ) ]
4454
- impl < ' a , T > ExactSizeIterator for RChunks < ' a , T > { }
4454
+ impl < T > ExactSizeIterator for RChunks < ' _ , T > { }
4455
4455
4456
4456
#[ unstable( feature = "trusted_len" , issue = "37572" ) ]
4457
- unsafe impl < ' a , T > TrustedLen for RChunks < ' a , T > { }
4457
+ unsafe impl < T > TrustedLen for RChunks < ' _ , T > { }
4458
4458
4459
4459
#[ stable( feature = "rchunks" , since = "1.31.0" ) ]
4460
- impl < ' a , T > FusedIterator for RChunks < ' a , T > { }
4460
+ impl < T > FusedIterator for RChunks < ' _ , T > { }
4461
4461
4462
4462
#[ doc( hidden) ]
4463
4463
#[ stable( feature = "rchunks" , since = "1.31.0" ) ]
@@ -4576,13 +4576,13 @@ impl<'a, T> DoubleEndedIterator for RChunksMut<'a, T> {
4576
4576
}
4577
4577
4578
4578
#[ stable( feature = "rchunks" , since = "1.31.0" ) ]
4579
- impl < ' a , T > ExactSizeIterator for RChunksMut < ' a , T > { }
4579
+ impl < T > ExactSizeIterator for RChunksMut < ' _ , T > { }
4580
4580
4581
4581
#[ unstable( feature = "trusted_len" , issue = "37572" ) ]
4582
- unsafe impl < ' a , T > TrustedLen for RChunksMut < ' a , T > { }
4582
+ unsafe impl < T > TrustedLen for RChunksMut < ' _ , T > { }
4583
4583
4584
4584
#[ stable( feature = "rchunks" , since = "1.31.0" ) ]
4585
- impl < ' a , T > FusedIterator for RChunksMut < ' a , T > { }
4585
+ impl < T > FusedIterator for RChunksMut < ' _ , T > { }
4586
4586
4587
4587
#[ doc( hidden) ]
4588
4588
#[ stable( feature = "rchunks" , since = "1.31.0" ) ]
@@ -4707,10 +4707,10 @@ impl<'a, T> ExactSizeIterator for RChunksExact<'a, T> {
4707
4707
}
4708
4708
4709
4709
#[ unstable( feature = "trusted_len" , issue = "37572" ) ]
4710
- unsafe impl < ' a , T > TrustedLen for RChunksExact < ' a , T > { }
4710
+ unsafe impl < T > TrustedLen for RChunksExact < ' _ , T > { }
4711
4711
4712
4712
#[ stable( feature = "rchunks" , since = "1.31.0" ) ]
4713
- impl < ' a , T > FusedIterator for RChunksExact < ' a , T > { }
4713
+ impl < T > FusedIterator for RChunksExact < ' _ , T > { }
4714
4714
4715
4715
#[ doc( hidden) ]
4716
4716
#[ stable( feature = "rchunks" , since = "1.31.0" ) ]
@@ -4818,17 +4818,17 @@ impl<'a, T> DoubleEndedIterator for RChunksExactMut<'a, T> {
4818
4818
}
4819
4819
4820
4820
#[ stable( feature = "rchunks" , since = "1.31.0" ) ]
4821
- impl < ' a , T > ExactSizeIterator for RChunksExactMut < ' a , T > {
4821
+ impl < T > ExactSizeIterator for RChunksExactMut < ' _ , T > {
4822
4822
fn is_empty ( & self ) -> bool {
4823
4823
self . v . is_empty ( )
4824
4824
}
4825
4825
}
4826
4826
4827
4827
#[ unstable( feature = "trusted_len" , issue = "37572" ) ]
4828
- unsafe impl < ' a , T > TrustedLen for RChunksExactMut < ' a , T > { }
4828
+ unsafe impl < T > TrustedLen for RChunksExactMut < ' _ , T > { }
4829
4829
4830
4830
#[ stable( feature = "rchunks" , since = "1.31.0" ) ]
4831
- impl < ' a , T > FusedIterator for RChunksExactMut < ' a , T > { }
4831
+ impl < T > FusedIterator for RChunksExactMut < ' _ , T > { }
4832
4832
4833
4833
#[ doc( hidden) ]
4834
4834
#[ stable( feature = "rchunks" , since = "1.31.0" ) ]
0 commit comments