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.
This commit is contained in:
Tobin C. Harding 2022-11-24 05:23:59 +11:00
parent 4864a33a62
commit 036bd0d011
1 changed files with 1 additions and 1 deletions

View File

@ -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