Skip to content

Commit 036bd0d

Browse files
committed
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.
1 parent 4864a33 commit 036bd0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ impl fmt::Display for Message {
299299
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { fmt::LowerHex::fmt(self, f) }
300300
}
301301

302-
/// An ECDSA error
302+
/// The main error type for this library.
303303
#[derive(Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Debug)]
304304
pub enum Error {
305305
/// Signature failed verification

0 commit comments

Comments
 (0)