diff --git a/src/ecdsa/serialized_signature.rs b/src/ecdsa/serialized_signature.rs index fceaa73..f8be36a 100644 --- a/src/ecdsa/serialized_signature.rs +++ b/src/ecdsa/serialized_signature.rs @@ -8,7 +8,6 @@ //! serialized signatures and since it's a bit more complicated it has its own module. use core::borrow::Borrow; -use core::convert::TryFrom; use core::{fmt, ops}; pub use into_iter::IntoIter; diff --git a/src/key.rs b/src/key.rs index 84255cf..48b1463 100644 --- a/src/key.rs +++ b/src/key.rs @@ -3,7 +3,6 @@ //! Public and secret keys. //! -use core::convert::TryFrom; use core::ops::{self, BitXor}; use core::{fmt, ptr, str}; diff --git a/src/schnorr.rs b/src/schnorr.rs index b284dcb..e8c767b 100644 --- a/src/schnorr.rs +++ b/src/schnorr.rs @@ -12,9 +12,7 @@ use crate::ffi::{self, CPtr}; use crate::key::{Keypair, XOnlyPublicKey}; #[cfg(feature = "global-context")] use crate::SECP256K1; -use crate::{ - constants, from_hex, impl_array_newtype, Error, Message, Secp256k1, Signing, Verification, -}; +use crate::{constants, from_hex, Error, Message, Secp256k1, Signing, Verification}; /// Represents a schnorr signature. #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]