mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 12:22:34 +00:00
updated cargo fmt
This commit is contained in:
@@ -392,12 +392,12 @@ pub fn DecodeBitStream(
|
||||
|
||||
pub fn Decode(bits: &BitMatrix) -> Result<DecoderResult<bool>> {
|
||||
let Ok(pversion) = ReadVersion(bits) else {
|
||||
return Err(Exceptions::format_with("Invalid version"))
|
||||
return Err(Exceptions::format_with("Invalid version"));
|
||||
};
|
||||
let version = pversion;
|
||||
|
||||
let Ok(formatInfo) = ReadFormatInformation(bits, version.isMicroQRCode()) else {
|
||||
return Err(Exceptions::format_with("Invalid format information"))
|
||||
return Err(Exceptions::format_with("Invalid format information"));
|
||||
};
|
||||
|
||||
// Read codewords
|
||||
|
||||
Reference in New Issue
Block a user