Skip to content

Commit fc31627

Browse files
committed
Run cargo clippy
1 parent 84fecfe commit fc31627

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fn main() {
1919

2020
for (x, y, mask_pixel) in mask.enumerate_pixels() {
2121
let mask_value = mask_pixel[0];
22-
let mut gray_pixel = gray.get_pixel(x, y).clone();
22+
let mut gray_pixel = *gray.get_pixel(x, y);
2323
if mask_value == 0 {
2424
gray_pixel = image::Luma([0]);
2525
} else {

0 commit comments

Comments
 (0)