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.
This commit is contained in:
Tobin C. Harding 2023-11-01 09:06:16 +11:00
parent fe2905d8e3
commit dd6bf7c10d
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 0 additions and 4 deletions

View File

@ -546,11 +546,7 @@ mod tests {
#[cfg(target_arch = "wasm32")] #[cfg(target_arch = "wasm32")]
use wasm_bindgen_test::wasm_bindgen_test as test; use wasm_bindgen_test::wasm_bindgen_test as test;
#[allow(unused_imports)] // When building with no default features.
use super::*; use super::*;
use crate::{constants, ecdsa, from_hex, Error, Message};
#[cfg(feature = "alloc")]
use crate::{ffi, PublicKey, Secp256k1, SecretKey};
macro_rules! hex { macro_rules! hex {
($hex:expr) => {{ ($hex:expr) => {{