Skip to content

Commit

Permalink
fix(clippy): rename error variant to fix clippy issue with latest rust
Browse files Browse the repository at this point in the history
version
  • Loading branch information
lionel-faber committed Mar 29, 2021
1 parent 30fd110 commit c2d0227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ pub enum Error {
EchoServiceFailure(String),
/// TLS error
#[error("TLS Error ")]
TLS(#[from] rustls::TLSError),
Tls(#[from] rustls::TLSError),
/// Serialisation error, which can happen on different type of data.
#[error("Serialisation error")]
Serialisation(#[from] bincode::Error),
Expand Down

0 comments on commit c2d0227

Please sign in to comment.