mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-27 21:02:35 +00:00
many warnings cleaned up
This commit is contained in:
@@ -67,7 +67,7 @@ impl OneDimensionalCodeWriter for EAN13Writer {
|
||||
}
|
||||
}
|
||||
|
||||
EAN13Writer::checkNumeric(&contents);
|
||||
EAN13Writer::checkNumeric(&contents)?;
|
||||
|
||||
let firstDigit = contents.chars().nth(0).unwrap().to_digit(10).unwrap() as usize; //, 10);
|
||||
let parities = EAN13Reader::FIRST_DIGIT_ENCODINGS[firstDigit];
|
||||
|
||||
Reference in New Issue
Block a user