changeset 117:db1f937a6215

undo: implement Iterator trait for Box<dyn SSIterator> As this trait is now implemented automatically, anyway.
author Lewin Bormann <lbo@spheniscida.de>
date Wed, 29 Dec 2021 10:04:27 +0100
parents ac587056636f
children f75ba3eceb26
files src/types.rs
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/types.rs	Wed Dec 29 10:01:51 2021 +0100
+++ b/src/types.rs	Wed Dec 29 10:04:27 2021 +0100
@@ -152,14 +152,6 @@
     }
 }
 
-impl Iterator for Box<dyn SSIterator> {
-    type Item = (Vec<u8>, Vec<u8>);
-
-    fn next(&mut self) -> Option<Self::Item> {
-        SSIterator::next(&mut *self)
-    }
-}
-
 const MASK_DELTA: u32 = 0xa282ead8;
 
 pub fn mask_crc(c: u32) -> u32 {