Skip to content

Commit 9648fb5

Browse files
slerpyyyandersk
andcommitted
Update library/core/src/iter/adapters/dedup.rs
Co-authored-by: Anders Kaseorg <[email protected]>
1 parent 3fbbfdb commit 9648fb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ where
128128
let Self { inner, last, same_bucket } = self;
129129
let last = last.get_or_insert_with(|| inner.next());
130130
let last_item = last.as_ref()?;
131-
let next = inner.find(|next_item| !(same_bucket)(last_item, next_item));
131+
let next = inner.find(|next_item| !(same_bucket)(next_item, last_item));
132132
crate::mem::replace(last, next)
133133
}
134134

0 commit comments

Comments
 (0)