Skip to content

Commit 88c8c58

Browse files
committed
Fix import warnings
Recent rustc upgrade introduced some new warnings for incorrect imports, fix them.
1 parent d279c13 commit 88c8c58

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

src/ecdsa/serialized_signature.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
//! serialized signatures and since it's a bit more complicated it has its own module.
99
1010
use core::borrow::Borrow;
11-
use core::convert::TryFrom;
1211
use core::{fmt, ops};
1312

1413
pub use into_iter::IntoIter;

src/key.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
//! Public and secret keys.
44
//!
55
6-
use core::convert::TryFrom;
76
use core::ops::{self, BitXor};
87
use core::{fmt, ptr, str};
98

src/schnorr.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ use crate::ffi::{self, CPtr};
1212
use crate::key::{Keypair, XOnlyPublicKey};
1313
#[cfg(feature = "global-context")]
1414
use crate::SECP256K1;
15-
use crate::{
16-
constants, from_hex, impl_array_newtype, Error, Message, Secp256k1, Signing, Verification,
17-
};
15+
use crate::{constants, from_hex, Error, Message, Secp256k1, Signing, Verification};
1816

1917
/// Represents a schnorr signature.
2018
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]

0 commit comments

Comments
 (0)