diff --git a/src/constants.rs b/src/constants.rs index 8da0e8c75..07b9d02de 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 60a0c7e39..137dc4301 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 469a2dd56..e45da71da 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 9f9ab7b69..19a89e4ae 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