From c0ffa2bb1c5988cb111ae29cd88201ae93774d04 Mon Sep 17 00:00:00 2001 From: Henry Schimke Date: Fri, 16 Dec 2022 11:19:00 -0600 Subject: [PATCH] cargo clippy fix --- tests/EAN8BlackBox1TestCase.rs | 2 +- tests/UPCEANExtensionBlackBox1TestCase.rs | 2 +- tests/codabar_blackbox_1_test_case.rs | 4 ++-- tests/code_128_blackbox.rs | 1 - tests/code_39_blackbox_reader.rs | 2 +- tests/code_93_blackbox_1_testcase.rs | 1 - tests/ean_13_blackbox_tests.rs | 2 +- tests/itf_blackbox.rs | 1 - tests/rss_14_blackbox.rs | 2 +- tests/upc_a_blackbox_tests.rs | 1 - tests/upc_e_blackbox_tests.rs | 1 - 11 files changed, 7 insertions(+), 12 deletions(-) diff --git a/tests/EAN8BlackBox1TestCase.rs b/tests/EAN8BlackBox1TestCase.rs index ab75ca3..1cf30d7 100644 --- a/tests/EAN8BlackBox1TestCase.rs +++ b/tests/EAN8BlackBox1TestCase.rs @@ -14,7 +14,7 @@ * limitations under the License. */ -use rxing::{oned::EAN8Reader, BarcodeFormat, MultiFormatReader}; +use rxing::{BarcodeFormat, MultiFormatReader}; mod common; diff --git a/tests/UPCEANExtensionBlackBox1TestCase.rs b/tests/UPCEANExtensionBlackBox1TestCase.rs index 0bf71db..1e58a0d 100644 --- a/tests/UPCEANExtensionBlackBox1TestCase.rs +++ b/tests/UPCEANExtensionBlackBox1TestCase.rs @@ -14,7 +14,7 @@ * limitations under the License. */ -use rxing::{oned::EAN13Reader, BarcodeFormat, MultiFormatReader}; +use rxing::{BarcodeFormat, MultiFormatReader}; mod common; diff --git a/tests/codabar_blackbox_1_test_case.rs b/tests/codabar_blackbox_1_test_case.rs index 21f6f84..156da9d 100644 --- a/tests/codabar_blackbox_1_test_case.rs +++ b/tests/codabar_blackbox_1_test_case.rs @@ -15,8 +15,8 @@ */ use rxing::{ - oned::{CodaBarReader, OneDReader}, - BarcodeFormat, MultiFormatReader, + oned::{CodaBarReader}, + BarcodeFormat, }; mod common; diff --git a/tests/code_128_blackbox.rs b/tests/code_128_blackbox.rs index a3f7c48..f2dece1 100644 --- a/tests/code_128_blackbox.rs +++ b/tests/code_128_blackbox.rs @@ -1,5 +1,4 @@ use rxing::{ - oned::{CodaBarReader, Code39Reader, OneDReader}, BarcodeFormat, MultiFormatReader, }; diff --git a/tests/code_39_blackbox_reader.rs b/tests/code_39_blackbox_reader.rs index 6aa18c7..2d5ddba 100644 --- a/tests/code_39_blackbox_reader.rs +++ b/tests/code_39_blackbox_reader.rs @@ -6,7 +6,7 @@ * limitations under the License. */ use rxing::{ - oned::{CodaBarReader, Code39Reader, OneDReader}, + oned::{Code39Reader}, BarcodeFormat, MultiFormatReader, }; diff --git a/tests/code_93_blackbox_1_testcase.rs b/tests/code_93_blackbox_1_testcase.rs index b8b2d1d..9621cbd 100644 --- a/tests/code_93_blackbox_1_testcase.rs +++ b/tests/code_93_blackbox_1_testcase.rs @@ -15,7 +15,6 @@ */ use rxing::{ - oned::{CodaBarReader, Code39Reader, OneDReader}, BarcodeFormat, MultiFormatReader, }; diff --git a/tests/ean_13_blackbox_tests.rs b/tests/ean_13_blackbox_tests.rs index 4dec3e9..52e64bd 100644 --- a/tests/ean_13_blackbox_tests.rs +++ b/tests/ean_13_blackbox_tests.rs @@ -14,7 +14,7 @@ * limitations under the License. */ -use rxing::{oned::EAN13Reader, BarcodeFormat, MultiFormatReader}; +use rxing::{BarcodeFormat, MultiFormatReader}; mod common; diff --git a/tests/itf_blackbox.rs b/tests/itf_blackbox.rs index 9a7a929..6334254 100644 --- a/tests/itf_blackbox.rs +++ b/tests/itf_blackbox.rs @@ -15,7 +15,6 @@ */ use rxing::{ - oned::{CodaBarReader, Code39Reader, OneDReader}, BarcodeFormat, MultiFormatReader, }; diff --git a/tests/rss_14_blackbox.rs b/tests/rss_14_blackbox.rs index ed980ce..56a7c87 100644 --- a/tests/rss_14_blackbox.rs +++ b/tests/rss_14_blackbox.rs @@ -14,7 +14,7 @@ * limitations under the License. */ -use rxing::{maxicode::MaxiCodeReader, BarcodeFormat, DecodeHintType, MultiFormatReader}; +use rxing::{BarcodeFormat, MultiFormatReader}; mod common; diff --git a/tests/upc_a_blackbox_tests.rs b/tests/upc_a_blackbox_tests.rs index fa13493..faad6f7 100644 --- a/tests/upc_a_blackbox_tests.rs +++ b/tests/upc_a_blackbox_tests.rs @@ -15,7 +15,6 @@ */ use rxing::{ - oned::{EAN13Reader, UPCAReader}, BarcodeFormat, MultiFormatReader, }; diff --git a/tests/upc_e_blackbox_tests.rs b/tests/upc_e_blackbox_tests.rs index 626d388..9cdb96e 100644 --- a/tests/upc_e_blackbox_tests.rs +++ b/tests/upc_e_blackbox_tests.rs @@ -15,7 +15,6 @@ */ use rxing::{ - oned::{EAN13Reader, UPCEReader}, BarcodeFormat, MultiFormatReader, };