clippy --fix

This commit is contained in:
Henry Schimke
2023-02-01 12:23:58 -06:00
parent fb60cfc5a3
commit 3ac2622c66

View File

@@ -767,7 +767,7 @@ fn decodeECISegment(
let thirdByte = bits.readBits(8)?;
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 {
// return Err(Exceptions::FormatException(None));