Skip to content

Commit 8a73ead

Browse files
committed
Put public re-exports separately
Move the use statements above the `pub use` statements as we do in `rust-bitcoin`. Internal change only.
1 parent bea8f94 commit 8a73ead

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@ use core::marker::PhantomData;
189189
use core::ptr::NonNull;
190190
use core::{fmt, mem, str};
191191

192+
use crate::ffi::types::AlignedType;
193+
use crate::ffi::CPtr;
194+
192195
#[rustfmt::skip] // Keep public re-exports separate.
193196
pub use secp256k1_sys as ffi;
194197

@@ -201,8 +204,6 @@ pub use crate::context::{
201204
};
202205
#[cfg(feature = "alloc")]
203206
pub use crate::context::{All, SignOnly, VerifyOnly};
204-
use crate::ffi::types::AlignedType;
205-
use crate::ffi::CPtr;
206207
pub use crate::key::{InvalidParityValue, Keypair, Parity, PublicKey, SecretKey, XOnlyPublicKey};
207208
pub use crate::scalar::Scalar;
208209

0 commit comments

Comments
 (0)