Fix clippy warnings

This commit is contained in:
Martin Algesten
2021-03-24 20:05:51 +01:00
parent ea53c7cedd
commit b42e9afd71
6 changed files with 26 additions and 27 deletions

View File

@@ -25,6 +25,7 @@ pub(crate) struct Stream {
inner: BufReader<Inner>,
}
#[allow(clippy::large_enum_variant)]
enum Inner {
Http(TcpStream),
#[cfg(feature = "tls")]