diff --git a/salut/src/error.rs b/salut/src/error.rs index a292890..3c88549 100644 --- a/salut/src/error.rs +++ b/salut/src/error.rs @@ -131,12 +131,12 @@ impl From for StreamError { fn from(value: rustls::Error) -> Self { match value { rustls::Error::InappropriateMessage { - expect_types, - got_type, + expect_types: _, + got_type: _, } => Self::BadFormat, rustls::Error::InappropriateHandshakeMessage { - expect_types, - got_type, + expect_types: _, + got_type: _, } => Self::BadFormat, rustls::Error::InvalidMessage(_) => Self::BadFormat, rustls::Error::NoCertificatesPresented => Self::InternalServerError,