From 036bd0d011247575e32c847d5ab1d963588b5222 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Thu, 24 Nov 2022 05:23:59 +1100 Subject: [PATCH] secp256k1: Generalize docs on Error The `Error` type is the main general error used by this lib, it is not specific to ECDSA. Fix the docs to show this. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index a443560..777ee43 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -299,7 +299,7 @@ impl fmt::Display for Message { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { fmt::LowerHex::fmt(self, f) } } -/// An ECDSA error +/// The main error type for this library. #[derive(Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Debug)] pub enum Error { /// Signature failed verification