From 42bf99f11bfda421e7ac3d263c3db5270389b633 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Thu, 24 Nov 2022 05:27:50 +1100 Subject: [PATCH] Add full stop The docs on `Error` are almost perfect, add a missing full stop. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 3451c73..744bb4b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -302,7 +302,7 @@ impl fmt::Display for Message { /// The main error type for this library. #[derive(Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Debug)] pub enum Error { - /// Signature failed verification + /// Signature failed verification. IncorrectSignature, /// Bad sized message ("messages" are actually fixed-sized digests [`constants::MESSAGE_SIZE`]). InvalidMessage,