From 27b3e92889f435bbace043173cd93151113182bd Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Thu, 24 Nov 2022 11:13:45 +1100 Subject: [PATCH] Do trivial cleanup to module level docs Make the module level docs uniform across the codebase (style copied from rust-bitcoin). --- src/ecdsa/mod.rs | 1 + src/scalar.rs | 1 + src/schnorr.rs | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ecdsa/mod.rs b/src/ecdsa/mod.rs index 199bbae..82aab7d 100644 --- a/src/ecdsa/mod.rs +++ b/src/ecdsa/mod.rs @@ -1,4 +1,5 @@ //! Structs and functionality related to the ECDSA signature algorithm. +//! #[cfg(feature = "recovery")] mod recovery; diff --git a/src/scalar.rs b/src/scalar.rs index 190cbc0..80f54cb 100644 --- a/src/scalar.rs +++ b/src/scalar.rs @@ -4,6 +4,7 @@ //! points. The most common type of scalars are private keys. However not all scalars are private //! keys. They can even be public *values*. To make handling them safer and easier this module //! provides the `Scalar` type and related. +//! use core::fmt; diff --git a/src/schnorr.rs b/src/schnorr.rs index a48420f..0f46407 100644 --- a/src/schnorr.rs +++ b/src/schnorr.rs @@ -1,4 +1,3 @@ -//! # schnorrsig //! Support for Schnorr signatures. //!