Skip to content

Commit be8c559

Browse files
authored
ci: false positive (pubgrub-rs#176)
1 parent cb8827e commit be8c559

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/internal/small_map.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ impl<'a, K: 'a, V: 'a> Iterator for IterSmallMap<'a, K, V> {
177177

178178
fn next(&mut self) -> Option<Self::Item> {
179179
match self {
180+
// False-positive, remove when stable is >=1.76 February 24
181+
#[allow(clippy::map_identity)]
180182
IterSmallMap::Inline(inner) => inner.next().map(|(k, v)| (k, v)),
181183
IterSmallMap::Map(inner) => inner.next(),
182184
}

0 commit comments

Comments
 (0)