Skip to content

Commit

Permalink
Disable clippy lint for enum variant sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
djc committed Nov 16, 2022
1 parent c91d813 commit 141eb5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<T> {
/// A stream over plain text.
Http(T),
Expand Down

0 comments on commit 141eb5f

Please sign in to comment.