cargo fmt

This commit is contained in:
Henry Schimke
2022-12-29 12:40:29 -06:00
parent 43c91900fe
commit 16cca6723a

View File

@@ -508,7 +508,8 @@ impl DetectionRXingResult {
let previousColumnCodewords = self.detectionRXingResultColumns[barcodeColumn - 1] let previousColumnCodewords = self.detectionRXingResultColumns[barcodeColumn - 1]
.as_ref() .as_ref()
.unwrap() .unwrap()
.getCodewords().to_vec(); .getCodewords()
.to_vec();
let mut nextColumnCodewords = previousColumnCodewords.clone(); let mut nextColumnCodewords = previousColumnCodewords.clone();
@@ -516,7 +517,8 @@ impl DetectionRXingResult {
nextColumnCodewords = self.detectionRXingResultColumns[barcodeColumn + 1] nextColumnCodewords = self.detectionRXingResultColumns[barcodeColumn + 1]
.as_ref() .as_ref()
.unwrap() .unwrap()
.getCodewords().to_vec(); //col.getCodewords(); .getCodewords()
.to_vec(); //col.getCodewords();
} }
// if (self.detectionRXingResultColumns[barcodeColumn + 1] != null) { // if (self.detectionRXingResultColumns[barcodeColumn + 1] != null) {
// nextColumnCodewords = self.detectionRXingResultColumns[barcodeColumn + 1].getCodewords(); // nextColumnCodewords = self.detectionRXingResultColumns[barcodeColumn + 1].getCodewords();