Fix import warnings

Recent rustc upgrade introduced some new warnings for incorrect imports,
fix them.
This commit is contained in:
Tobin C. Harding 2024-04-02 11:06:24 +11:00
parent d279c13beb
commit 88c8c58d8d
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
3 changed files with 1 additions and 5 deletions

View File

@ -8,7 +8,6 @@
//! serialized signatures and since it's a bit more complicated it has its own module. //! serialized signatures and since it's a bit more complicated it has its own module.
use core::borrow::Borrow; use core::borrow::Borrow;
use core::convert::TryFrom;
use core::{fmt, ops}; use core::{fmt, ops};
pub use into_iter::IntoIter; pub use into_iter::IntoIter;

View File

@ -3,7 +3,6 @@
//! Public and secret keys. //! Public and secret keys.
//! //!
use core::convert::TryFrom;
use core::ops::{self, BitXor}; use core::ops::{self, BitXor};
use core::{fmt, ptr, str}; use core::{fmt, ptr, str};

View File

@ -12,9 +12,7 @@ use crate::ffi::{self, CPtr};
use crate::key::{Keypair, XOnlyPublicKey}; use crate::key::{Keypair, XOnlyPublicKey};
#[cfg(feature = "global-context")] #[cfg(feature = "global-context")]
use crate::SECP256K1; use crate::SECP256K1;
use crate::{ use crate::{constants, from_hex, Error, Message, Secp256k1, Signing, Verification};
constants, from_hex, impl_array_newtype, Error, Message, Secp256k1, Signing, Verification,
};
/// Represents a schnorr signature. /// Represents a schnorr signature.
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]