mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
cargo clippy --fix
This commit is contained in:
@@ -252,7 +252,7 @@ impl LuminanceSource for PlanarYUVLuminanceSource {
|
||||
fn getRow(&self, y: usize) -> Vec<u8> {
|
||||
if y >= self.getHeight() {
|
||||
//throw new IllegalArgumentException("Requested row is outside the image: " + y);
|
||||
panic!("Requested row is outside the image: {}", y);
|
||||
panic!("Requested row is outside the image: {y}");
|
||||
}
|
||||
let width = self.getWidth();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user