From 5dbf797bf392d303bf368457f5afb61114456749 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Tue, 15 Nov 2022 23:16:03 +0100 Subject: [PATCH] Disable clippy lint for enum variant sizes --- src/stream.rs | 1 + 1 file changed, 1 insertion(+) 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),