Skip to content

Commit dd6bf7c

Browse files
committed
Fix unit test import statements
In `lib.rs` unit tests we are getting build warnings because of how we are importing things, just import with `super::*` unconditionally and be done with it.
1 parent fe2905d commit dd6bf7c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -546,11 +546,7 @@ mod tests {
546546
#[cfg(target_arch = "wasm32")]
547547
use wasm_bindgen_test::wasm_bindgen_test as test;
548548

549-
#[allow(unused_imports)] // When building with no default features.
550549
use super::*;
551-
use crate::{constants, ecdsa, from_hex, Error, Message};
552-
#[cfg(feature = "alloc")]
553-
use crate::{ffi, PublicKey, Secp256k1, SecretKey};
554550

555551
macro_rules! hex {
556552
($hex:expr) => {{

0 commit comments

Comments
 (0)