Style fixes to tor-protover errors.

This commit is contained in:
Nick Mathewson 2022-06-22 08:50:44 -04:00
parent f6d6ac7fe9
commit 7163b7dcc0
1 changed files with 3 additions and 3 deletions

View File

@ -274,13 +274,13 @@ impl Protocols {
#[non_exhaustive]
pub enum ParseError {
/// A protocol version was not in the range 0..=63.
#[error("protocol version out of range")]
#[error("Protocol version out of range")]
OutOfRange,
/// Some subprotocol or protocol version appeared more than once.
#[error("duplicate protocol entry")]
#[error("Duplicate protocol entry")]
Duplicate,
/// The list of protocol versions was malformed in some other way.
#[error("malformed protocol entry")]
#[error("Malformed protocol entry")]
Malformed,
}