Skip to content

Commit ae4b915

Browse files
committed
Fix some CI failures:
* Remove unnecesary parentheses in `Option<(&Foo)>`
1 parent 20adf23 commit ae4b915

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/map.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1967,7 +1967,7 @@ impl<'a, K, V> Iterator for Keys<'a, K, V> {
19671967
type Item = &'a K;
19681968

19691969
#[cfg_attr(feature = "inline-more", inline)]
1970-
fn next(&mut self) -> Option<(&'a K)> {
1970+
fn next(&mut self) -> Option<&'a K> {
19711971
self.inner.next().map(|(k, _)| k)
19721972
}
19731973
#[cfg_attr(feature = "inline-more", inline)]
@@ -1987,7 +1987,7 @@ impl<'a, K, V> Iterator for Values<'a, K, V> {
19871987
type Item = &'a V;
19881988

19891989
#[cfg_attr(feature = "inline-more", inline)]
1990-
fn next(&mut self) -> Option<(&'a V)> {
1990+
fn next(&mut self) -> Option<&'a V> {
19911991
self.inner.next().map(|(_, v)| v)
19921992
}
19931993
#[cfg_attr(feature = "inline-more", inline)]
@@ -2007,7 +2007,7 @@ impl<'a, K, V> Iterator for ValuesMut<'a, K, V> {
20072007
type Item = &'a mut V;
20082008

20092009
#[cfg_attr(feature = "inline-more", inline)]
2010-
fn next(&mut self) -> Option<(&'a mut V)> {
2010+
fn next(&mut self) -> Option<&'a mut V> {
20112011
self.inner.next().map(|(_, v)| v)
20122012
}
20132013
#[cfg_attr(feature = "inline-more", inline)]

0 commit comments

Comments
 (0)