@@ -1193,11 +1193,6 @@ impl<'a, K: 'a, V: 'a> Iterator for Iter<'a, K, V> {
1193
1193
fn size_hint ( & self ) -> ( usize , Option < usize > ) {
1194
1194
( self . length , Some ( self . length ) )
1195
1195
}
1196
-
1197
- #[ inline]
1198
- fn last ( mut self ) -> Option < ( & ' a K , & ' a V ) > {
1199
- self . next_back ( )
1200
- }
1201
1196
}
1202
1197
1203
1198
#[ stable( feature = "fused" , since = "1.26.0" ) ]
@@ -1258,11 +1253,6 @@ impl<'a, K: 'a, V: 'a> Iterator for IterMut<'a, K, V> {
1258
1253
fn size_hint ( & self ) -> ( usize , Option < usize > ) {
1259
1254
( self . length , Some ( self . length ) )
1260
1255
}
1261
-
1262
- #[ inline]
1263
- fn last ( mut self ) -> Option < ( & ' a K , & ' a mut V ) > {
1264
- self . next_back ( )
1265
- }
1266
1256
}
1267
1257
1268
1258
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -1369,11 +1359,6 @@ impl<K, V> Iterator for IntoIter<K, V> {
1369
1359
fn size_hint ( & self ) -> ( usize , Option < usize > ) {
1370
1360
( self . length , Some ( self . length ) )
1371
1361
}
1372
-
1373
- #[ inline]
1374
- fn last ( mut self ) -> Option < ( K , V ) > {
1375
- self . next_back ( )
1376
- }
1377
1362
}
1378
1363
1379
1364
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -1436,11 +1421,6 @@ impl<'a, K, V> Iterator for Keys<'a, K, V> {
1436
1421
fn size_hint ( & self ) -> ( usize , Option < usize > ) {
1437
1422
self . inner . size_hint ( )
1438
1423
}
1439
-
1440
- #[ inline]
1441
- fn last ( mut self ) -> Option < & ' a K > {
1442
- self . next_back ( )
1443
- }
1444
1424
}
1445
1425
1446
1426
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -1478,11 +1458,6 @@ impl<'a, K, V> Iterator for Values<'a, K, V> {
1478
1458
fn size_hint ( & self ) -> ( usize , Option < usize > ) {
1479
1459
self . inner . size_hint ( )
1480
1460
}
1481
-
1482
- #[ inline]
1483
- fn last ( mut self ) -> Option < & ' a V > {
1484
- self . next_back ( )
1485
- }
1486
1461
}
1487
1462
1488
1463
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -1520,11 +1495,6 @@ impl<'a, K, V> Iterator for Range<'a, K, V> {
1520
1495
unsafe { Some ( self . next_unchecked ( ) ) }
1521
1496
}
1522
1497
}
1523
-
1524
- #[ inline]
1525
- fn last ( mut self ) -> Option < ( & ' a K , & ' a V ) > {
1526
- self . next_back ( )
1527
- }
1528
1498
}
1529
1499
1530
1500
#[ stable( feature = "map_values_mut" , since = "1.10.0" ) ]
@@ -1538,11 +1508,6 @@ impl<'a, K, V> Iterator for ValuesMut<'a, K, V> {
1538
1508
fn size_hint ( & self ) -> ( usize , Option < usize > ) {
1539
1509
self . inner . size_hint ( )
1540
1510
}
1541
-
1542
- #[ inline]
1543
- fn last ( mut self ) -> Option < & ' a mut V > {
1544
- self . next_back ( )
1545
- }
1546
1511
}
1547
1512
1548
1513
#[ stable( feature = "map_values_mut" , since = "1.10.0" ) ]
@@ -1661,11 +1626,6 @@ impl<'a, K, V> Iterator for RangeMut<'a, K, V> {
1661
1626
unsafe { Some ( self . next_unchecked ( ) ) }
1662
1627
}
1663
1628
}
1664
-
1665
- #[ inline]
1666
- fn last ( mut self ) -> Option < ( & ' a K , & ' a mut V ) > {
1667
- self . next_back ( )
1668
- }
1669
1629
}
1670
1630
1671
1631
impl < ' a , K , V > RangeMut < ' a , K , V > {
0 commit comments