mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 12:22:34 +00:00
cargo clippy --fix
This commit is contained in:
@@ -40,7 +40,7 @@ pub struct RGBLuminanceSource {
|
||||
impl LuminanceSource for RGBLuminanceSource {
|
||||
fn getRow(&self, y: usize) -> Vec<u8> {
|
||||
if y >= self.getHeight() {
|
||||
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