Skip to content

Commit dddd638

Browse files
committed
Fix clippy::needless_lifetimes
1 parent b2919fa commit dddd638

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/map/iter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ where
819819

820820
impl<K, V, F> FusedIterator for ExtractIf<'_, K, V, F> where F: FnMut(&K, &mut V) -> bool {}
821821

822-
impl<'a, K, V, F> fmt::Debug for ExtractIf<'a, K, V, F>
822+
impl<K, V, F> fmt::Debug for ExtractIf<'_, K, V, F>
823823
where
824824
K: fmt::Debug,
825825
V: fmt::Debug,

src/set/iter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ where
671671

672672
impl<T, F> FusedIterator for ExtractIf<'_, T, F> where F: FnMut(&T) -> bool {}
673673

674-
impl<'a, T, F> fmt::Debug for ExtractIf<'a, T, F>
674+
impl<T, F> fmt::Debug for ExtractIf<'_, T, F>
675675
where
676676
T: fmt::Debug,
677677
{

0 commit comments

Comments
 (0)