mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 20:32:34 +00:00
cargo clippy && fmt
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
use crate::{
|
||||
common::{BitSource, DecoderRXingResult, ECIStringBuilder, Result, CharacterSetECI},
|
||||
common::{BitSource, CharacterSetECI, DecoderRXingResult, ECIStringBuilder, Result},
|
||||
Exceptions,
|
||||
};
|
||||
|
||||
@@ -727,12 +727,7 @@ fn decodeBase256Segment(
|
||||
*byte = unrandomize255State(bits.readBits(8)?, codewordPosition) as u8;
|
||||
codewordPosition += 1;
|
||||
}
|
||||
result.append_string(
|
||||
|
||||
&CharacterSetECI::ISO8859_1
|
||||
.decode(&bytes)
|
||||
?,
|
||||
);
|
||||
result.append_string(&CharacterSetECI::ISO8859_1.decode(&bytes)?);
|
||||
byteSegments.push(bytes);
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user