Skip to content

Commit 87810be

Browse files
committed
chore: clippy
1 parent 18e071b commit 87810be

7 files changed

Lines changed: 1 addition & 7 deletions

File tree

src/aztec/DetectorTest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
// import java.util.Random;
3535
// import java.util.TreeSet;
3636

37-
use rand::{Rng, RngExt};
37+
use rand::RngExt;
3838

3939
use crate::{Point, aztec::decoder, common::BitMatrix, exceptions::Exceptions};
4040

src/aztec/EncoderTest.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ use super::{AztecWriter, encoder::aztec_encoder};
2727

2828
use crate::Writer;
2929

30-
use rand::Rng;
3130
use rand::RngExt;
3231

3332
/**

src/common/BitArrayTestCase.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ use crate::common::BIT_FIELD_BASE_BITS;
3030

3131
use super::{BIT_FIELD_SHIFT_BITS, BitArray};
3232
use crate::common::test_utils::arrays_are_equal;
33-
use rand::Rng;
3433
use rand::RngExt;
3534

3635
#[test]

src/common/StringUtilsTestCase.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
// import java.nio.charset.StandardCharsets;
2424
// import java.util.Random;
2525

26-
use rand::Rng;
2726
use rand::RngExt;
2827

2928
use crate::{DecodeHints, common::string_utils};

src/common/reedsolomon/ReedSolomonTestCase.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
use rand::Rng;
21
use rand::RngExt;
32

43
use super::{GenericGFRef, ReedSolomonDecoder, ReedSolomonEncoder};

src/pdf417/decoder/ec/abstract_error_correction_test_case.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
use rand::Rng;
1817
use rand::RngExt;
1918

2019
use crate::common::reedsolomon::ReedSolomonTestCase;

src/pdf417/decoder/ec/error_correction_test_case.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
use rand::Rng;
1817
use rand::RngExt;
1918

2019
use crate::common::Result;

0 commit comments

Comments
 (0)