clippy fix

This commit is contained in:
Henry
2023-04-28 19:41:23 -05:00
parent 2afc6be3dc
commit ef999a4eb0
36 changed files with 122 additions and 137 deletions

View File

@@ -127,8 +127,7 @@ impl LuminanceSource for BufferedImageLuminanceSource {
.collect::<Vec<&u8>>(); // get all the rows we want to look at
let data = unmanaged
.chunks_exact(self.image.width() as usize)
.into_iter() // Get rows
.chunks_exact(self.image.width() as usize) // Get rows
.flat_map(|f| {
f.iter()
.skip(row_skip as usize)