From: Ian Jackson Date: Sat, 21 Nov 2020 00:58:23 +0000 (+0000) Subject: drop spurious ExactSizeIterator impl X-Git-Tag: otter-0.2.0~447 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e605b4e8c47600ca33376f23eba2271b0daf6ced;p=otter.git drop spurious ExactSizeIterator impl Signed-off-by: Ian Jackson --- diff --git a/zcoord/zcoord.rs b/zcoord/zcoord.rs index adda1987..424f76b7 100644 --- a/zcoord/zcoord.rs +++ b/zcoord/zcoord.rs @@ -387,9 +387,6 @@ impl Iterator for IteratorCore { Some(self.current.repack().unwrap()) } } -impl ExactSizeIterator for IteratorCore { - fn len(&self) -> usize { return usize::MAX } -} pub trait BoxedIteratorTrait : Iterator + Debug { } pub type BoxedIterator = Box;