Fix more nightly Clippy lints

This commit is contained in:
Alejandro González 2023-07-10 22:52:32 +02:00 committed by Josh Holmer
parent a8ca8f5b74
commit 0a17367857

View file

@ -23,7 +23,7 @@ pub fn validate_output(output: &[u8], original_data: &[u8]) -> bool {
(Ok(new_frames), Ok(old_frames)) if new_frames.len() != old_frames.len() => false,
(Ok(new_frames), Ok(old_frames)) => {
for (a, b) in old_frames.iter().zip(new_frames) {
if !images_equal(&a, &b) {
if !images_equal(a, &b) {
return false;
}
}