cargo fmt

This commit is contained in:
Henry Schimke
2023-01-10 14:34:33 -06:00
parent 9f7a41f81c
commit 4f1bceee66
3 changed files with 8 additions and 8 deletions

View File

@@ -158,10 +158,10 @@ fn decode_bitmatrix_parser_with_hints(
let dataBlocks = DataBlock::getDataBlocks(&codewords, version, ecLevel)?;
// Count total number of data bytes
let totalBytes = dataBlocks.iter().fold(0, |acc,dataBlock| {
let totalBytes = dataBlocks.iter().fold(0, |acc, dataBlock| {
acc + dataBlock.getNumDataCodewords() as usize
});
let mut resultBytes = vec![0u8; totalBytes];
let mut resultOffset = 0;