We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc480ba commit 7d9b058Copy full SHA for 7d9b058
library/core/src/iter/adapters/dedup.rs
@@ -88,10 +88,6 @@ where
88
type Item = T;
89
90
fn next(&mut self) -> Option<Self::Item> {
91
- if self.last.is_none() {
92
- self.last = self.inner.next();
93
- }
94
-
95
let last_item = self.last.as_ref()?;
96
let mut next = loop {
97
let curr = self.inner.next();
@@ -148,10 +144,6 @@ where
148
144
149
145
150
146
151
152
153
154
155
147
156
157
0 commit comments