@@ -39,15 +39,22 @@ where
39
39
}
40
40
}
41
41
42
- unsafe impl < ' a , ' i , K , V , S > Send for Iter < ' i , K , V , S >
42
+ // Clippy beta 0.1.83 (f41c7ed9889 2024-10-31) warns about unused lifetimes on 'a.
43
+ // This seems a false positive. The lifetimes are used in the trait bounds.
44
+ // https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
45
+ #[ allow( clippy:: extra_unused_lifetimes) ]
46
+ unsafe impl < ' a , K , V , S > Send for Iter < ' _ , K , V , S >
43
47
where
44
48
K : ' a + Eq + Hash + Send ,
45
49
V : ' a + Send ,
46
50
S : ' a + BuildHasher + Clone ,
47
51
{
48
52
}
49
53
50
- unsafe impl < ' a , ' i , K , V , S > Sync for Iter < ' i , K , V , S >
54
+ // Clippy beta 0.1.83 (f41c7ed9889 2024-10-31) warns about unused lifetimes on 'a.
55
+ // This seems a false positive. The lifetimes are used in the trait bounds.
56
+ // https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
57
+ #[ allow( clippy:: extra_unused_lifetimes) ] unsafe impl < ' a , K , V , S > Sync for Iter < ' _ , K , V , S >
51
58
where
52
59
K : ' a + Eq + Hash + Sync ,
53
60
V : ' a + Sync ,
0 commit comments