Link to MESSAGE_SIZE in Error docs
We can help readers of the HTML docs by using a link to the constant. While we are at it shorten the doc comment so it fits on one line (in under 100 chars).
This commit is contained in:
parent
036bd0d011
commit
96f9fd3e56
|
@ -304,8 +304,7 @@ impl fmt::Display for Message {
|
||||||
pub enum Error {
|
pub enum Error {
|
||||||
/// Signature failed verification
|
/// Signature failed verification
|
||||||
IncorrectSignature,
|
IncorrectSignature,
|
||||||
/// Badly sized message ("messages" are actually fixed-sized digests; see the `MESSAGE_SIZE`
|
/// Bad sized message ("messages" are actually fixed-sized digests [`constants::MESSAGE_SIZE`]).
|
||||||
/// constant).
|
|
||||||
InvalidMessage,
|
InvalidMessage,
|
||||||
/// Bad public key.
|
/// Bad public key.
|
||||||
InvalidPublicKey,
|
InvalidPublicKey,
|
||||||
|
|
Loading…
Reference in New Issue