@@ -135,7 +135,7 @@ impl<T: Clone, A: Allocator + Clone> Clone for BTreeSet<T, A> {
135135/// [`iter`]: BTreeSet::iter
136136#[ must_use = "iterators are lazy and do nothing unless consumed" ]
137137#[ stable( feature = "rust1" , since = "1.0.0" ) ]
138- pub struct Iter < ' a , T : ' a > {
138+ pub struct Iter < ' a , T > {
139139 iter : Keys < ' a , T , SetValZST > ,
140140}
141141
@@ -171,7 +171,7 @@ pub struct IntoIter<
171171#[ must_use = "iterators are lazy and do nothing unless consumed" ]
172172#[ derive( Debug ) ]
173173#[ stable( feature = "btree_range" , since = "1.17.0" ) ]
174- pub struct Range < ' a , T : ' a > {
174+ pub struct Range < ' a , T > {
175175 iter : super :: map:: Range < ' a , T , SetValZST > ,
176176}
177177
@@ -186,12 +186,12 @@ pub struct Range<'a, T: 'a> {
186186#[ stable( feature = "rust1" , since = "1.0.0" ) ]
187187pub struct Difference <
188188 ' a ,
189- T : ' a ,
189+ T ,
190190 #[ unstable( feature = "allocator_api" , issue = "32838" ) ] A : Allocator + Clone = Global ,
191191> {
192192 inner : DifferenceInner < ' a , T , A > ,
193193}
194- enum DifferenceInner < ' a , T : ' a , A : Allocator + Clone > {
194+ enum DifferenceInner < ' a , T , A : Allocator + Clone > {
195195 Stitch {
196196 // iterate all of `self` and some of `other`, spotting matches along the way
197197 self_iter : Iter < ' a , T > ,
@@ -240,7 +240,7 @@ impl<T: fmt::Debug, A: Allocator + Clone> fmt::Debug for Difference<'_, T, A> {
240240#[ must_use = "this returns the difference as an iterator, \
241241 without modifying either input set"]
242242#[ 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 > > ) ;
244244
245245#[ stable( feature = "collection_debug" , since = "1.17.0" ) ]
246246impl < T : fmt:: Debug > fmt:: Debug for SymmetricDifference < ' _ , T > {
@@ -260,12 +260,12 @@ impl<T: fmt::Debug> fmt::Debug for SymmetricDifference<'_, T> {
260260#[ stable( feature = "rust1" , since = "1.0.0" ) ]
261261pub struct Intersection <
262262 ' a ,
263- T : ' a ,
263+ T ,
264264 #[ unstable( feature = "allocator_api" , issue = "32838" ) ] A : Allocator + Clone = Global ,
265265> {
266266 inner : IntersectionInner < ' a , T , A > ,
267267}
268- enum IntersectionInner < ' a , T : ' a , A : Allocator + Clone > {
268+ enum IntersectionInner < ' a , T , A : Allocator + Clone > {
269269 Stitch {
270270 // iterate similarly sized sets jointly, spotting matches along the way
271271 a : Iter < ' a , T > ,
@@ -312,7 +312,7 @@ impl<T: Debug, A: Allocator + Clone> Debug for Intersection<'_, T, A> {
312312#[ must_use = "this returns the union as an iterator, \
313313 without modifying either input set"]
314314#[ 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 > > ) ;
316316
317317#[ stable( feature = "collection_debug" , since = "1.17.0" ) ]
318318impl < T : fmt:: Debug > fmt:: Debug for Union < ' _ , T > {
@@ -1290,7 +1290,6 @@ pub struct DrainFilter<
12901290 F ,
12911291 #[ unstable( feature = "allocator_api" , issue = "32838" ) ] A : Allocator + Clone = Global ,
12921292> where
1293- T : ' a ,
12941293 F : ' a + FnMut ( & T ) -> bool ,
12951294{
12961295 pred : F ,
0 commit comments