cleanup more warnings and deprecated function use

This commit is contained in:
Henry Schimke
2022-12-30 17:00:35 -06:00
parent b383d7b0d4
commit 29a4040f2d
38 changed files with 158 additions and 133 deletions

View File

@@ -19,8 +19,8 @@ use std::{fmt::Display, rc::Rc};
use crate::pdf417::pdf_417_common;
use super::{
BarcodeMetadata, BoundingBox, Codeword,
DetectionRXingResultColumnTrait, DetectionRXingResultRowIndicatorColumn,
BarcodeMetadata, BoundingBox, Codeword, DetectionRXingResultColumnTrait,
DetectionRXingResultRowIndicatorColumn,
};
const ADJUST_ROW_NUMBER_SKIP: u32 = 2;

View File

@@ -16,7 +16,7 @@
use rand::Rng;
use crate::{ Exceptions};
use crate::Exceptions;
use super::{
abstract_error_correction_test_case::{corrupt, getRandom},
@@ -56,7 +56,6 @@ fn testNoError() {
#[test]
fn testExplicitError() {
for i in 0..PDF417_TEST_WITH_EC.len() {
// for (int i = 0; i < PDF417_TEST_WITH_EC.length; i++) {
let mut received = PDF417_TEST_WITH_EC.clone();