Skip to content

Commit 72421dc

Browse files
committed
clippy: remove a couple redundant test imports
Found with `cargo +nightly clippy --all-targets`.
1 parent b03c2cc commit 72421dc

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,6 @@ impl From<std::io::Error> for EncodeIoError {
580580
#[cfg(feature = "alloc")]
581581
mod tests {
582582
use super::*;
583-
use crate::{Bech32, Bech32m};
584583

585584
// Tests below using this data, are based on the test vector (from BIP-173):
586585
// BC1QW508D6QEJXTDG4Y5R3ZARVARY0C5XW7KV8F3T4: 0014751e76e8199196d454941c45d1b3a323f1433bd6

src/segwit.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,6 @@ impl From<fmt::Error> for EncodeError {
441441
#[cfg(all(test, feature = "alloc"))]
442442
mod tests {
443443
use super::*;
444-
use crate::primitives::decode::{SegwitCodeLengthError, SegwitHrpstringError};
445444
use crate::primitives::hrp;
446445

447446
#[test]

0 commit comments

Comments
 (0)