mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 12:22:34 +00:00
cleanup more warnings and deprecated function use
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user