diff --git a/src/stream.rs b/src/stream.rs index 96e544e..64ddc48 100644 --- a/src/stream.rs +++ b/src/stream.rs @@ -10,6 +10,7 @@ use tokio::io::{AsyncRead, AsyncWrite, ReadBuf}; use tokio_rustls::client::TlsStream; /// A stream that might be protected with TLS. +#[allow(clippy::large_enum_variant)] pub enum MaybeHttpsStream { /// A stream over plain text. Http(T),