Skip to content

Commit

Permalink
Fix import warnings
Browse files Browse the repository at this point in the history
Recent rustc upgrade introduced some new warnings for incorrect imports,
fix them.
  • Loading branch information
tcharding committed Apr 2, 2024
1 parent d279c13 commit 88c8c58
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion src/ecdsa/serialized_signature.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion src/key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
//! Public and secret keys.
//!
use core::convert::TryFrom;
use core::ops::{self, BitXor};
use core::{fmt, ptr, str};

Expand Down
4 changes: 1 addition & 3 deletions src/schnorr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit 88c8c58

Please sign in to comment.