mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-27 21:02:35 +00:00
clippy --fix
This commit is contained in:
@@ -767,7 +767,7 @@ fn decodeECISegment(
|
|||||||
let thirdByte = bits.readBits(8)?;
|
let thirdByte = bits.readBits(8)?;
|
||||||
|
|
||||||
result.appendECI((firstByte - 192) * 64516 + 16383 + (secondByte - 1) * 254 + thirdByte - 1)?;
|
result.appendECI((firstByte - 192) * 64516 + 16383 + (secondByte - 1) * 254 + thirdByte - 1)?;
|
||||||
return Ok((firstByte - 192) * 64516 + 16383 + (secondByte - 1) * 254 + thirdByte - 1 > 900);
|
Ok((firstByte - 192) * 64516 + 16383 + (secondByte - 1) * 254 + thirdByte - 1 > 900)
|
||||||
|
|
||||||
// if bits.available() < 8 {
|
// if bits.available() < 8 {
|
||||||
// return Err(Exceptions::FormatException(None));
|
// return Err(Exceptions::FormatException(None));
|
||||||
|
|||||||
Reference in New Issue
Block a user