From be8c5596c68f159d7918063325d602f4466e7a7e Mon Sep 17 00:00:00 2001 From: Jacob Finkelman Date: Wed, 3 Jan 2024 12:59:48 -0500 Subject: [PATCH] ci: false positive (#176) --- src/internal/small_map.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/internal/small_map.rs b/src/internal/small_map.rs index a1fe5f9e..8fc16a06 100644 --- a/src/internal/small_map.rs +++ b/src/internal/small_map.rs @@ -177,6 +177,8 @@ impl<'a, K: 'a, V: 'a> Iterator for IterSmallMap<'a, K, V> { fn next(&mut self) -> Option { match self { + // False-positive, remove when stable is >=1.76 February 24 + #[allow(clippy::map_identity)] IterSmallMap::Inline(inner) => inner.next().map(|(k, v)| (k, v)), IterSmallMap::Map(inner) => inner.next(), }