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

@@ -250,6 +250,6 @@ impl QRCodeReader {
if x == width || y == height {
return Err(Exceptions::NOT_FOUND);
}
Ok((x - leftTopBlack.x) as f32 / 7.0)
Ok((x - leftTopBlack.x) / 7.0)
}
}