mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
fix small clippy issues
This commit is contained in:
@@ -104,6 +104,7 @@ impl DecoderRXingResult {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::too_many_arguments)]
|
||||||
pub fn with_all(
|
pub fn with_all(
|
||||||
rawBytes: Vec<u8>,
|
rawBytes: Vec<u8>,
|
||||||
text: String,
|
text: String,
|
||||||
|
|||||||
@@ -242,7 +242,7 @@ fn decodeAsciiSegment(
|
|||||||
return Ok(Mode::ASCII_ENCODE);
|
return Ok(Mode::ASCII_ENCODE);
|
||||||
}
|
}
|
||||||
129 => return Ok(Mode::PAD_ENCODE), // Pad
|
129 => return Ok(Mode::PAD_ENCODE), // Pad
|
||||||
129..=229 => {
|
130..=229 => {
|
||||||
// 2-digit data 00-99 (Numeric Value + 130)
|
// 2-digit data 00-99 (Numeric Value + 130)
|
||||||
let value = oneByte - 130;
|
let value = oneByte - 130;
|
||||||
if value < 10 {
|
if value < 10 {
|
||||||
|
|||||||
Reference in New Issue
Block a user