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;
143143#[ macro_use]
144144mod secret;
145145mod context;
146+ mod key;
147+
146148pub mod constants;
147149pub mod ecdh;
148- pub mod key;
149150pub mod schnorrsig;
150151#[ cfg( feature = "recovery" ) ]
151152pub mod recovery;
@@ -154,6 +155,7 @@ mod serde_util;
154155
155156pub use key:: SecretKey ;
156157pub use key:: PublicKey ;
158+ pub use key:: ONE_KEY ;
157159pub use context:: * ;
158160use core:: marker:: PhantomData ;
159161use core:: ops:: Deref ;
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ impl SecretKey {
9090 /// # Example
9191 ///
9292 /// ```
93- /// use secp256k1::key:: ONE_KEY;
93+ /// use secp256k1::ONE_KEY;
9494 /// let key = ONE_KEY;
9595 /// // Normal display hides value
9696 /// assert_eq!(
@@ -123,7 +123,7 @@ impl KeyPair {
123123 /// # Example
124124 ///
125125 /// ```
126- /// use secp256k1::key:: ONE_KEY;
126+ /// use secp256k1::ONE_KEY;
127127 /// use secp256k1::schnorrsig::KeyPair;
128128 /// use secp256k1::Secp256k1;
129129 ///
You can’t perform that action at this time.
0 commit comments