@@ -1967,7 +1967,7 @@ impl<'a, K, V> Iterator for Keys<'a, K, V> {
1967
1967
type Item = & ' a K ;
1968
1968
1969
1969
#[ cfg_attr( feature = "inline-more" , inline) ]
1970
- fn next ( & mut self ) -> Option < ( & ' a K ) > {
1970
+ fn next ( & mut self ) -> Option < & ' a K > {
1971
1971
self . inner . next ( ) . map ( |( k, _) | k)
1972
1972
}
1973
1973
#[ cfg_attr( feature = "inline-more" , inline) ]
@@ -1987,7 +1987,7 @@ impl<'a, K, V> Iterator for Values<'a, K, V> {
1987
1987
type Item = & ' a V ;
1988
1988
1989
1989
#[ cfg_attr( feature = "inline-more" , inline) ]
1990
- fn next ( & mut self ) -> Option < ( & ' a V ) > {
1990
+ fn next ( & mut self ) -> Option < & ' a V > {
1991
1991
self . inner . next ( ) . map ( |( _, v) | v)
1992
1992
}
1993
1993
#[ cfg_attr( feature = "inline-more" , inline) ]
@@ -2007,7 +2007,7 @@ impl<'a, K, V> Iterator for ValuesMut<'a, K, V> {
2007
2007
type Item = & ' a mut V ;
2008
2008
2009
2009
#[ cfg_attr( feature = "inline-more" , inline) ]
2010
- fn next ( & mut self ) -> Option < ( & ' a mut V ) > {
2010
+ fn next ( & mut self ) -> Option < & ' a mut V > {
2011
2011
self . inner . next ( ) . map ( |( _, v) | v)
2012
2012
}
2013
2013
#[ cfg_attr( feature = "inline-more" , inline) ]
0 commit comments