diff --git a/agb-hashmap/src/hash_set.rs b/agb-hashmap/src/hash_set.rs index b0cd44e1..afab5f47 100644 --- a/agb-hashmap/src/hash_set.rs +++ b/agb-hashmap/src/hash_set.rs @@ -387,7 +387,7 @@ impl<'a, K, ALLOCATOR: ClonableAllocator> Iterator for Iter<'a, K, ALLOCATOR> { } } -impl<'a, K, ALLOCATOR: ClonableAllocator> ExactSizeIterator for Iter<'a, K, ALLOCATOR> {} +impl ExactSizeIterator for Iter<'_, K, ALLOCATOR> {} impl FromIterator for HashSet where diff --git a/agb-hashmap/src/lib.rs b/agb-hashmap/src/lib.rs index 715df511..940df370 100644 --- a/agb-hashmap/src/lib.rs +++ b/agb-hashmap/src/lib.rs @@ -528,7 +528,7 @@ impl<'a, K, V, ALLOCATOR: ClonableAllocator> Iterator for Iter<'a, K, V, ALLOCAT } } -impl<'a, K, V, ALLOCATOR: ClonableAllocator> ExactSizeIterator for Iter<'a, K, V, ALLOCATOR> {} +impl ExactSizeIterator for Iter<'_, K, V, ALLOCATOR> {} impl<'a, K, V, ALLOCATOR: ClonableAllocator> IntoIterator for &'a HashMap { type Item = (&'a K, &'a V);