From c2d0227bc4179a264dbf1aac16448b018f16dd06 Mon Sep 17 00:00:00 2001 From: Lionel Faber Date: Mon, 29 Mar 2021 17:20:53 +0530 Subject: [PATCH] fix(clippy): rename error variant to fix clippy issue with latest rust version --- src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error.rs b/src/error.rs index f79a71b2..c271b042 100644 --- a/src/error.rs +++ b/src/error.rs @@ -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),