diff --git a/src/lib.rs b/src/lib.rs index e552add..7bda140 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -434,10 +434,8 @@ impl Secp256k1 { } impl Secp256k1 { - /// Generates a random keypair. Convenience function for `key::SecretKey::new` - /// and `key::PublicKey::from_secret_key`; call those functions directly for - /// batch key generation. Requires a signing-capable context. Requires compilation - /// with the "rand" feature. + /// Generates a random keypair. Convenience function for [`SecretKey::new`] and + /// [`PublicKey::from_secret_key`]. #[inline] #[cfg(any(test, feature = "rand"))] #[cfg_attr(docsrs, doc(cfg(feature = "rand")))]