diff --git a/src/linear_map.rs b/src/linear_map.rs index dbfa35f221..11efe62422 100644 --- a/src/linear_map.rs +++ b/src/linear_map.rs @@ -517,9 +517,6 @@ impl<'a, K, V> Iterator for Iter<'a, K, V> { type Item = (&'a K, &'a V); fn next(&mut self) -> Option { - // False positive from clippy - // Option<&(K, V)> -> Option<(&K, &V)> - #[allow(clippy::map_identity)] self.iter.next().map(|(k, v)| (k, v)) } }