mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-27 12:52:34 +00:00
cargo fmt
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user