diff --git a/src/binary_descriptors/brief.rs b/src/binary_descriptors/brief.rs index 85c3bf61..079b8cd3 100644 --- a/src/binary_descriptors/brief.rs +++ b/src/binary_descriptors/brief.rs @@ -335,7 +335,6 @@ mod tests { let image = gray_bench_image(640, 480); let mut rng = rand::thread_rng(); let keypoints = (0..1000) - .into_iter() .map(|_| { Point::new( rng.gen_range(24..image.width() - 24), @@ -354,7 +353,6 @@ mod tests { let image = gray_bench_image(640, 480); let mut rng = rand::thread_rng(); let keypoints = (0..1000) - .into_iter() .map(|_| { Point::new( rng.gen_range(24..image.width() - 24), diff --git a/src/binary_descriptors/mod.rs b/src/binary_descriptors/mod.rs index 9b8035e7..fabb9566 100644 --- a/src/binary_descriptors/mod.rs +++ b/src/binary_descriptors/mod.rs @@ -145,7 +145,6 @@ mod tests { let image = gray_bench_image(640, 480); let mut rng = rand::thread_rng(); let keypoints = (0..1000) - .into_iter() .map(|_| { Point::new( rng.gen_range(20..image.width() - 20),