Skip to content

Commit aa2db90

Browse files
committed
mob next [ci-skip] [ci skip] [skip ci]
1 parent f473fee commit aa2db90

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

src/adaptors/mod.rs

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -872,32 +872,6 @@ impl<I,T,E> Iterator for EnumerateOk<I>
872872
{
873873
type Item = Result<(usize,T),E>;
874874

875-
// fn next(&mut self) -> Option<Self::Item> {
876-
// match self.iter.next() {
877-
// Some(Ok(v)) =>
878-
// {
879-
// let index = self.index;
880-
// self.index += 1;
881-
// Some(Ok((index, v)))
882-
// }
883-
// Some(Err(e)) => Some(Err(e)),
884-
// None => None
885-
// }
886-
// }
887-
888-
// fn next(&mut self) -> Option<Self::Item> {
889-
// self.iter.next().map(|item| {
890-
// match item {
891-
// Ok(v) => {
892-
// let index = self.index;
893-
// self.index += 1;
894-
// Ok((index,v))
895-
// },
896-
// Err(e) => Err(e),
897-
// }
898-
// })
899-
// }
900-
901875
fn next(&mut self) -> Option<Self::Item> {
902876
self.iter.next().map(|item| {
903877
item.map(|v| {

0 commit comments

Comments
 (0)