Remove Iterator::size_hint() implementation
I'm not sure why the author added this in the first place, but I bet we don't need this. So remove code we do not need. Feel free to prove me wrong and revert this patch. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
ae95022202
commit
341e64998d
1 changed files with 0 additions and 6 deletions
|
@ -48,12 +48,6 @@ impl<I, F, T> Iterator for UnwrapWith<I, F>
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn size_hint(&self) -> (usize, Option<usize>) {
|
||||
let (_, upper) = self.iter.size_hint();
|
||||
(0, upper)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue