Skip to content

Commit 7e0099a

Browse files
committed
Remove unnecessary imports
We already have a wildcard import for `super::*` in the `tests` module so these import statements are unnecessary.
1 parent 3dfe253 commit 7e0099a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/lib.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,6 @@ mod tests {
887887

888888
#[test]
889889
fn from_base32() {
890-
use FromBase32;
891890
assert_eq!(
892891
Vec::from_base32(&[0x1f, 0x1c].check_base32().unwrap()),
893892
Ok(vec![0xff])
@@ -900,14 +899,11 @@ mod tests {
900899

901900
#[test]
902901
fn to_base32() {
903-
use ToBase32;
904902
assert_eq!([0xffu8].to_base32(), [0x1f, 0x1c].check_base32().unwrap());
905903
}
906904

907905
#[test]
908906
fn reverse_charset() {
909-
use CHARSET_REV;
910-
911907
fn get_char_value(c: char) -> i8 {
912908
let charset = "qpzry9x8gf2tvdw0s3jn54khce6mua7l";
913909
match charset.find(c.to_ascii_lowercase()) {
@@ -959,7 +955,6 @@ mod tests {
959955
#[test]
960956
fn test_hrp_case() {
961957
// Tests for issue with HRP case checking being ignored for encoding
962-
use ToBase32;
963958
let encoded_str = encode("HRP", [0x00, 0x00].to_base32(), Variant::Bech32).unwrap();
964959

965960
assert_eq!(encoded_str, "hrp1qqqq40atq3");

0 commit comments

Comments
 (0)