Skip to content

Commit

Permalink
chore: rm unhinged attributes ordering (#12498)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Nov 13, 2024
1 parent 1ce067b commit 2f794b6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/net/p2p/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,24 +80,24 @@ impl<H: BlockHeader> EthResponseValidator for RequestResult<Vec<H>> {
#[derive(Clone, Debug, Eq, PartialEq, Display, Error)]
pub enum RequestError {
/// Closed channel to the peer.
#[display("closed channel to the peer")]
/// Indicates the channel to the peer is closed.
#[display("closed channel to the peer")]
ChannelClosed,
/// Connection to a peer dropped while handling the request.
#[display("connection to a peer dropped while handling the request")]
/// Represents a dropped connection while handling the request.
#[display("connection to a peer dropped while handling the request")]
ConnectionDropped,
/// Capability message is not supported by the remote peer.
#[display("capability message is not supported by remote peer")]
/// Indicates an unsupported capability message from the remote peer.
#[display("capability message is not supported by remote peer")]
UnsupportedCapability,
/// Request timed out while awaiting response.
#[display("request timed out while awaiting response")]
/// Represents a timeout while waiting for a response.
#[display("request timed out while awaiting response")]
Timeout,
/// Received bad response.
#[display("received bad response")]
/// Indicates a bad response was received.
#[display("received bad response")]
BadResponse,
}

Expand Down

0 comments on commit 2f794b6

Please sign in to comment.