@@ -279,7 +279,7 @@ pub struct Iter<'a, K: 'a, V: 'a> {
279
279
}
280
280
281
281
#[ stable( feature = "collection_debug" , since = "1.17.0" ) ]
282
- impl < ' a , K : ' a + fmt:: Debug , V : ' a + fmt:: Debug > fmt:: Debug for Iter < ' a , K , V > {
282
+ impl < K : fmt:: Debug , V : fmt:: Debug > fmt:: Debug for Iter < ' _ , K , V > {
283
283
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
284
284
f. debug_list ( ) . entries ( self . clone ( ) ) . finish ( )
285
285
}
@@ -337,7 +337,7 @@ pub struct Keys<'a, K: 'a, V: 'a> {
337
337
}
338
338
339
339
#[ stable( feature = "collection_debug" , since = "1.17.0" ) ]
340
- impl < ' a , K : ' a + fmt:: Debug , V : ' a > fmt:: Debug for Keys < ' a , K , V > {
340
+ impl < K : fmt:: Debug , V > fmt:: Debug for Keys < ' _ , K , V > {
341
341
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
342
342
f. debug_list ( ) . entries ( self . clone ( ) ) . finish ( )
343
343
}
@@ -356,7 +356,7 @@ pub struct Values<'a, K: 'a, V: 'a> {
356
356
}
357
357
358
358
#[ stable( feature = "collection_debug" , since = "1.17.0" ) ]
359
- impl < ' a , K : ' a , V : ' a + fmt:: Debug > fmt:: Debug for Values < ' a , K , V > {
359
+ impl < K , V : fmt:: Debug > fmt:: Debug for Values < ' _ , K , V > {
360
360
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
361
361
f. debug_list ( ) . entries ( self . clone ( ) ) . finish ( )
362
362
}
@@ -389,7 +389,7 @@ pub struct Range<'a, K: 'a, V: 'a> {
389
389
}
390
390
391
391
#[ stable( feature = "collection_debug" , since = "1.17.0" ) ]
392
- impl < ' a , K : ' a + fmt:: Debug , V : ' a + fmt:: Debug > fmt:: Debug for Range < ' a , K , V > {
392
+ impl < K : fmt:: Debug , V : fmt:: Debug > fmt:: Debug for Range < ' _ , K , V > {
393
393
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
394
394
f. debug_list ( ) . entries ( self . clone ( ) ) . finish ( )
395
395
}
@@ -412,7 +412,7 @@ pub struct RangeMut<'a, K: 'a, V: 'a> {
412
412
}
413
413
414
414
#[ stable( feature = "collection_debug" , since = "1.17.0" ) ]
415
- impl < ' a , K : ' a + fmt:: Debug , V : ' a + fmt:: Debug > fmt:: Debug for RangeMut < ' a , K , V > {
415
+ impl < K : fmt:: Debug , V : fmt:: Debug > fmt:: Debug for RangeMut < ' _ , K , V > {
416
416
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
417
417
let range = Range {
418
418
front : self . front . reborrow ( ) ,
@@ -442,7 +442,7 @@ pub enum Entry<'a, K: 'a, V: 'a> {
442
442
}
443
443
444
444
#[ stable( feature= "debug_btree_map" , since = "1.12.0" ) ]
445
- impl < ' a , K : ' a + Debug + Ord , V : ' a + Debug > Debug for Entry < ' a , K , V > {
445
+ impl < K : Debug + Ord , V : Debug > Debug for Entry < ' _ , K , V > {
446
446
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
447
447
match * self {
448
448
Vacant ( ref v) => f. debug_tuple ( "Entry" )
@@ -470,7 +470,7 @@ pub struct VacantEntry<'a, K: 'a, V: 'a> {
470
470
}
471
471
472
472
#[ stable( feature= "debug_btree_map" , since = "1.12.0" ) ]
473
- impl < ' a , K : ' a + Debug + Ord , V : ' a > Debug for VacantEntry < ' a , K , V > {
473
+ impl < K : Debug + Ord , V > Debug for VacantEntry < ' _ , K , V > {
474
474
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
475
475
f. debug_tuple ( "VacantEntry" )
476
476
. field ( self . key ( ) )
@@ -493,7 +493,7 @@ pub struct OccupiedEntry<'a, K: 'a, V: 'a> {
493
493
}
494
494
495
495
#[ stable( feature= "debug_btree_map" , since = "1.12.0" ) ]
496
- impl < ' a , K : ' a + Debug + Ord , V : ' a + Debug > Debug for OccupiedEntry < ' a , K , V > {
496
+ impl < K : Debug + Ord , V : Debug > Debug for OccupiedEntry < ' _ , K , V > {
497
497
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
498
498
f. debug_struct ( "OccupiedEntry" )
499
499
. field ( "key" , self . key ( ) )
@@ -1202,7 +1202,7 @@ impl<'a, K: 'a, V: 'a> Iterator for Iter<'a, K, V> {
1202
1202
}
1203
1203
1204
1204
#[ stable( feature = "fused" , since = "1.26.0" ) ]
1205
- impl < ' a , K , V > FusedIterator for Iter < ' a , K , V > { }
1205
+ impl < K , V > FusedIterator for Iter < ' _ , K , V > { }
1206
1206
1207
1207
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1208
1208
impl < ' a , K : ' a , V : ' a > DoubleEndedIterator for Iter < ' a , K , V > {
@@ -1217,7 +1217,7 @@ impl<'a, K: 'a, V: 'a> DoubleEndedIterator for Iter<'a, K, V> {
1217
1217
}
1218
1218
1219
1219
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1220
- impl < ' a , K : ' a , V : ' a > ExactSizeIterator for Iter < ' a , K , V > {
1220
+ impl < K , V > ExactSizeIterator for Iter < ' _ , K , V > {
1221
1221
fn len ( & self ) -> usize {
1222
1222
self . length
1223
1223
}
@@ -1274,14 +1274,14 @@ impl<'a, K: 'a, V: 'a> DoubleEndedIterator for IterMut<'a, K, V> {
1274
1274
}
1275
1275
1276
1276
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1277
- impl < ' a , K : ' a , V : ' a > ExactSizeIterator for IterMut < ' a , K , V > {
1277
+ impl < K , V > ExactSizeIterator for IterMut < ' _ , K , V > {
1278
1278
fn len ( & self ) -> usize {
1279
1279
self . length
1280
1280
}
1281
1281
}
1282
1282
1283
1283
#[ stable( feature = "fused" , since = "1.26.0" ) ]
1284
- impl < ' a , K , V > FusedIterator for IterMut < ' a , K , V > { }
1284
+ impl < K , V > FusedIterator for IterMut < ' _ , K , V > { }
1285
1285
1286
1286
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1287
1287
impl < K , V > IntoIterator for BTreeMap < K , V > {
@@ -1437,14 +1437,14 @@ impl<'a, K, V> DoubleEndedIterator for Keys<'a, K, V> {
1437
1437
}
1438
1438
1439
1439
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1440
- impl < ' a , K , V > ExactSizeIterator for Keys < ' a , K , V > {
1440
+ impl < K , V > ExactSizeIterator for Keys < ' _ , K , V > {
1441
1441
fn len ( & self ) -> usize {
1442
1442
self . inner . len ( )
1443
1443
}
1444
1444
}
1445
1445
1446
1446
#[ stable( feature = "fused" , since = "1.26.0" ) ]
1447
- impl < ' a , K , V > FusedIterator for Keys < ' a , K , V > { }
1447
+ impl < K , V > FusedIterator for Keys < ' _ , K , V > { }
1448
1448
1449
1449
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1450
1450
impl < ' a , K , V > Clone for Keys < ' a , K , V > {
@@ -1474,14 +1474,14 @@ impl<'a, K, V> DoubleEndedIterator for Values<'a, K, V> {
1474
1474
}
1475
1475
1476
1476
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1477
- impl < ' a , K , V > ExactSizeIterator for Values < ' a , K , V > {
1477
+ impl < K , V > ExactSizeIterator for Values < ' _ , K , V > {
1478
1478
fn len ( & self ) -> usize {
1479
1479
self . inner . len ( )
1480
1480
}
1481
1481
}
1482
1482
1483
1483
#[ stable( feature = "fused" , since = "1.26.0" ) ]
1484
- impl < ' a , K , V > FusedIterator for Values < ' a , K , V > { }
1484
+ impl < K , V > FusedIterator for Values < ' _ , K , V > { }
1485
1485
1486
1486
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1487
1487
impl < ' a , K , V > Clone for Values < ' a , K , V > {
@@ -1524,15 +1524,14 @@ impl<'a, K, V> DoubleEndedIterator for ValuesMut<'a, K, V> {
1524
1524
}
1525
1525
1526
1526
#[ stable( feature = "map_values_mut" , since = "1.10.0" ) ]
1527
- impl < ' a , K , V > ExactSizeIterator for ValuesMut < ' a , K , V > {
1527
+ impl < K , V > ExactSizeIterator for ValuesMut < ' _ , K , V > {
1528
1528
fn len ( & self ) -> usize {
1529
1529
self . inner . len ( )
1530
1530
}
1531
1531
}
1532
1532
1533
1533
#[ stable( feature = "fused" , since = "1.26.0" ) ]
1534
- impl < ' a , K , V > FusedIterator for ValuesMut < ' a , K , V > { }
1535
-
1534
+ impl < K , V > FusedIterator for ValuesMut < ' _ , K , V > { }
1536
1535
1537
1536
impl < ' a , K , V > Range < ' a , K , V > {
1538
1537
unsafe fn next_unchecked ( & mut self ) -> ( & ' a K , & ' a V ) {
@@ -1610,7 +1609,7 @@ impl<'a, K, V> Range<'a, K, V> {
1610
1609
}
1611
1610
1612
1611
#[ stable( feature = "fused" , since = "1.26.0" ) ]
1613
- impl < ' a , K , V > FusedIterator for Range < ' a , K , V > { }
1612
+ impl < K , V > FusedIterator for Range < ' _ , K , V > { }
1614
1613
1615
1614
#[ stable( feature = "btree_range" , since = "1.17.0" ) ]
1616
1615
impl < ' a , K , V > Clone for Range < ' a , K , V > {
@@ -1679,7 +1678,7 @@ impl<'a, K, V> DoubleEndedIterator for RangeMut<'a, K, V> {
1679
1678
}
1680
1679
1681
1680
#[ stable( feature = "fused" , since = "1.26.0" ) ]
1682
- impl < ' a , K , V > FusedIterator for RangeMut < ' a , K , V > { }
1681
+ impl < K , V > FusedIterator for RangeMut < ' _ , K , V > { }
1683
1682
1684
1683
impl < ' a , K , V > RangeMut < ' a , K , V > {
1685
1684
unsafe fn next_back_unchecked ( & mut self ) -> ( & ' a K , & ' a mut V ) {
@@ -1790,7 +1789,7 @@ impl<K: Debug, V: Debug> Debug for BTreeMap<K, V> {
1790
1789
}
1791
1790
1792
1791
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1793
- impl < ' a , K : Ord , Q : ?Sized , V > Index < & ' a Q > for BTreeMap < K , V >
1792
+ impl < K : Ord , Q : ?Sized , V > Index < & Q > for BTreeMap < K , V >
1794
1793
where K : Borrow < Q > ,
1795
1794
Q : Ord
1796
1795
{
0 commit comments