Skip to content

Commit 141eb5f

Browse files
committed
Disable clippy lint for enum variant sizes
1 parent c91d813 commit 141eb5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/stream.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ use tokio::io::{AsyncRead, AsyncWrite, ReadBuf};
1010
use tokio_rustls::client::TlsStream;
1111

1212
/// A stream that might be protected with TLS.
13+
#[allow(clippy::large_enum_variant)]
1314
pub enum MaybeHttpsStream<T> {
1415
/// A stream over plain text.
1516
Http(T),

0 commit comments

Comments
 (0)