Skip to content

Commit 1ec9aa8

Browse files
committed
Forgot one
1 parent ca137db commit 1ec9aa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/iter/adapters/dedup.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ impl<I, F, T> DedupByKey<I, F, T> {
137137
impl<I, F, K, T> Iterator for DedupByKey<I, F, T>
138138
where
139139
I: Iterator<Item = T>,
140-
F: Fn(&T) -> K,
140+
F: FnMut(&T) -> K,
141141
K: PartialEq,
142142
{
143143
type Item = T;

0 commit comments

Comments
 (0)