File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -143,9 +143,10 @@ mod macros;
143
143
#[ macro_use]
144
144
mod secret;
145
145
mod context;
146
+ mod key;
147
+
146
148
pub mod constants;
147
149
pub mod ecdh;
148
- pub mod key;
149
150
pub mod schnorrsig;
150
151
#[ cfg( feature = "recovery" ) ]
151
152
pub mod recovery;
@@ -154,6 +155,7 @@ mod serde_util;
154
155
155
156
pub use key:: SecretKey ;
156
157
pub use key:: PublicKey ;
158
+ pub use key:: ONE_KEY ;
157
159
pub use context:: * ;
158
160
use core:: marker:: PhantomData ;
159
161
use core:: ops:: Deref ;
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ impl SecretKey {
90
90
/// # Example
91
91
///
92
92
/// ```
93
- /// use secp256k1::key:: ONE_KEY;
93
+ /// use secp256k1::ONE_KEY;
94
94
/// let key = ONE_KEY;
95
95
/// // Normal display hides value
96
96
/// assert_eq!(
@@ -123,7 +123,7 @@ impl KeyPair {
123
123
/// # Example
124
124
///
125
125
/// ```
126
- /// use secp256k1::key:: ONE_KEY;
126
+ /// use secp256k1::ONE_KEY;
127
127
/// use secp256k1::schnorrsig::KeyPair;
128
128
/// use secp256k1::Secp256k1;
129
129
///
You can’t perform that action at this time.
0 commit comments