@@ -1193,11 +1193,6 @@ impl<'a, K: 'a, V: 'a> Iterator for Iter<'a, K, V> {
11931193 fn size_hint ( & self ) -> ( usize , Option < usize > ) {
11941194 ( self . length , Some ( self . length ) )
11951195 }
1196-
1197- #[ inline]
1198- fn last ( mut self ) -> Option < ( & ' a K , & ' a V ) > {
1199- self . next_back ( )
1200- }
12011196}
12021197
12031198#[ stable( feature = "fused" , since = "1.26.0" ) ]
@@ -1258,11 +1253,6 @@ impl<'a, K: 'a, V: 'a> Iterator for IterMut<'a, K, V> {
12581253 fn size_hint ( & self ) -> ( usize , Option < usize > ) {
12591254 ( self . length , Some ( self . length ) )
12601255 }
1261-
1262- #[ inline]
1263- fn last ( mut self ) -> Option < ( & ' a K , & ' a mut V ) > {
1264- self . next_back ( )
1265- }
12661256}
12671257
12681258#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -1369,11 +1359,6 @@ impl<K, V> Iterator for IntoIter<K, V> {
13691359 fn size_hint ( & self ) -> ( usize , Option < usize > ) {
13701360 ( self . length , Some ( self . length ) )
13711361 }
1372-
1373- #[ inline]
1374- fn last ( mut self ) -> Option < ( K , V ) > {
1375- self . next_back ( )
1376- }
13771362}
13781363
13791364#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -1436,11 +1421,6 @@ impl<'a, K, V> Iterator for Keys<'a, K, V> {
14361421 fn size_hint ( & self ) -> ( usize , Option < usize > ) {
14371422 self . inner . size_hint ( )
14381423 }
1439-
1440- #[ inline]
1441- fn last ( mut self ) -> Option < & ' a K > {
1442- self . next_back ( )
1443- }
14441424}
14451425
14461426#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -1478,11 +1458,6 @@ impl<'a, K, V> Iterator for Values<'a, K, V> {
14781458 fn size_hint ( & self ) -> ( usize , Option < usize > ) {
14791459 self . inner . size_hint ( )
14801460 }
1481-
1482- #[ inline]
1483- fn last ( mut self ) -> Option < & ' a V > {
1484- self . next_back ( )
1485- }
14861461}
14871462
14881463#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -1520,11 +1495,6 @@ impl<'a, K, V> Iterator for Range<'a, K, V> {
15201495 unsafe { Some ( self . next_unchecked ( ) ) }
15211496 }
15221497 }
1523-
1524- #[ inline]
1525- fn last ( mut self ) -> Option < ( & ' a K , & ' a V ) > {
1526- self . next_back ( )
1527- }
15281498}
15291499
15301500#[ stable( feature = "map_values_mut" , since = "1.10.0" ) ]
@@ -1538,11 +1508,6 @@ impl<'a, K, V> Iterator for ValuesMut<'a, K, V> {
15381508 fn size_hint ( & self ) -> ( usize , Option < usize > ) {
15391509 self . inner . size_hint ( )
15401510 }
1541-
1542- #[ inline]
1543- fn last ( mut self ) -> Option < & ' a mut V > {
1544- self . next_back ( )
1545- }
15461511}
15471512
15481513#[ stable( feature = "map_values_mut" , since = "1.10.0" ) ]
@@ -1661,11 +1626,6 @@ impl<'a, K, V> Iterator for RangeMut<'a, K, V> {
16611626 unsafe { Some ( self . next_unchecked ( ) ) }
16621627 }
16631628 }
1664-
1665- #[ inline]
1666- fn last ( mut self ) -> Option < ( & ' a K , & ' a mut V ) > {
1667- self . next_back ( )
1668- }
16691629}
16701630
16711631impl < ' a , K , V > RangeMut < ' a , K , V > {
0 commit comments