diff --git a/src/constants.rs b/src/constants.rs index 8da0e8c..07b9d02 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -13,8 +13,8 @@ // If not, see . // -//! # Constants //! Constants related to the API and the underlying curve. +//! /// The size (in bytes) of a message. pub const MESSAGE_SIZE: usize = 32; diff --git a/src/ecdh.rs b/src/ecdh.rs index e0df282..0897ddc 100644 --- a/src/ecdh.rs +++ b/src/ecdh.rs @@ -12,7 +12,6 @@ // If not, see . // -//! # ECDH //! Support for shared secret computations. //! diff --git a/src/ecdsa/recovery.rs b/src/ecdsa/recovery.rs index 4b1488f..2a3f4bc 100644 --- a/src/ecdsa/recovery.rs +++ b/src/ecdsa/recovery.rs @@ -13,9 +13,9 @@ // If not, see . // -//! # Recovery module //! Provides a signing function that allows recovering the public key from the //! signature. +//! use core::ptr; use key; diff --git a/src/lib.rs b/src/lib.rs index 018df93..e3725e5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -13,7 +13,6 @@ // If not, see . // -//! # Secp256k1 //! Rust bindings for Pieter Wuille's secp256k1 library, which is used for //! fast and accurate manipulation of ECDSA signatures on the secp256k1 //! curve. Such signatures are used extensively by the Bitcoin network