From dc54e9dd4a476eedb67dd6dc742db865b412066c Mon Sep 17 00:00:00 2001 From: Phil Ellison Date: Sun, 10 Mar 2024 14:29:54 +0000 Subject: [PATCH] Appease clippy --- src/binary_descriptors/brief.rs | 2 -- src/binary_descriptors/mod.rs | 1 - 2 files changed, 3 deletions(-) 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),