@@ -135,7 +135,7 @@ impl<T: Clone, A: Allocator + Clone> Clone for BTreeSet<T, A> {
135
135
/// [`iter`]: BTreeSet::iter
136
136
#[ must_use = "iterators are lazy and do nothing unless consumed" ]
137
137
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
138
- pub struct Iter < ' a , T : ' a > {
138
+ pub struct Iter < ' a , T > {
139
139
iter : Keys < ' a , T , SetValZST > ,
140
140
}
141
141
@@ -171,7 +171,7 @@ pub struct IntoIter<
171
171
#[ must_use = "iterators are lazy and do nothing unless consumed" ]
172
172
#[ derive( Debug ) ]
173
173
#[ stable( feature = "btree_range" , since = "1.17.0" ) ]
174
- pub struct Range < ' a , T : ' a > {
174
+ pub struct Range < ' a , T > {
175
175
iter : super :: map:: Range < ' a , T , SetValZST > ,
176
176
}
177
177
@@ -186,12 +186,12 @@ pub struct Range<'a, T: 'a> {
186
186
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
187
187
pub struct Difference <
188
188
' a ,
189
- T : ' a ,
189
+ T ,
190
190
#[ unstable( feature = "allocator_api" , issue = "32838" ) ] A : Allocator + Clone = Global ,
191
191
> {
192
192
inner : DifferenceInner < ' a , T , A > ,
193
193
}
194
- enum DifferenceInner < ' a , T : ' a , A : Allocator + Clone > {
194
+ enum DifferenceInner < ' a , T , A : Allocator + Clone > {
195
195
Stitch {
196
196
// iterate all of `self` and some of `other`, spotting matches along the way
197
197
self_iter : Iter < ' a , T > ,
@@ -240,7 +240,7 @@ impl<T: fmt::Debug, A: Allocator + Clone> fmt::Debug for Difference<'_, T, A> {
240
240
#[ must_use = "this returns the difference as an iterator, \
241
241
without modifying either input set"]
242
242
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
243
- pub struct SymmetricDifference < ' a , T : ' a > ( MergeIterInner < Iter < ' a , T > > ) ;
243
+ pub struct SymmetricDifference < ' a , T > ( MergeIterInner < Iter < ' a , T > > ) ;
244
244
245
245
#[ stable( feature = "collection_debug" , since = "1.17.0" ) ]
246
246
impl < T : fmt:: Debug > fmt:: Debug for SymmetricDifference < ' _ , T > {
@@ -260,12 +260,12 @@ impl<T: fmt::Debug> fmt::Debug for SymmetricDifference<'_, T> {
260
260
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
261
261
pub struct Intersection <
262
262
' a ,
263
- T : ' a ,
263
+ T ,
264
264
#[ unstable( feature = "allocator_api" , issue = "32838" ) ] A : Allocator + Clone = Global ,
265
265
> {
266
266
inner : IntersectionInner < ' a , T , A > ,
267
267
}
268
- enum IntersectionInner < ' a , T : ' a , A : Allocator + Clone > {
268
+ enum IntersectionInner < ' a , T , A : Allocator + Clone > {
269
269
Stitch {
270
270
// iterate similarly sized sets jointly, spotting matches along the way
271
271
a : Iter < ' a , T > ,
@@ -312,7 +312,7 @@ impl<T: Debug, A: Allocator + Clone> Debug for Intersection<'_, T, A> {
312
312
#[ must_use = "this returns the union as an iterator, \
313
313
without modifying either input set"]
314
314
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
315
- pub struct Union < ' a , T : ' a > ( MergeIterInner < Iter < ' a , T > > ) ;
315
+ pub struct Union < ' a , T > ( MergeIterInner < Iter < ' a , T > > ) ;
316
316
317
317
#[ stable( feature = "collection_debug" , since = "1.17.0" ) ]
318
318
impl < T : fmt:: Debug > fmt:: Debug for Union < ' _ , T > {
@@ -1290,7 +1290,6 @@ pub struct DrainFilter<
1290
1290
F ,
1291
1291
#[ unstable( feature = "allocator_api" , issue = "32838" ) ] A : Allocator + Clone = Global ,
1292
1292
> where
1293
- T : ' a ,
1294
1293
F : ' a + FnMut ( & T ) -> bool ,
1295
1294
{
1296
1295
pred : F ,
0 commit comments