Fix import warnings
Recent rustc upgrade introduced some new warnings for incorrect imports, fix them.
This commit is contained in:
parent
d279c13beb
commit
88c8c58d8d
|
@ -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;
|
||||||
|
|
|
@ -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};
|
||||||
|
|
||||||
|
|
|
@ -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)]
|
||||||
|
|
Loading…
Reference in New Issue