diff --git a/src/h2.rs b/src/h2.rs index 1404196e7..d3f32e2b9 100644 --- a/src/h2.rs +++ b/src/h2.rs @@ -29,7 +29,6 @@ pub(crate) struct Http2 where T: AsyncRead + AsyncWrite + 'static, H: 'static { router: Rc>, - #[allow(dead_code)] addr: Option, state: State>, disconnected: bool, diff --git a/src/route.rs b/src/route.rs index c591e984d..72318a215 100644 --- a/src/route.rs +++ b/src/route.rs @@ -16,7 +16,6 @@ use httpresponse::HttpResponse; #[doc(hidden)] #[derive(Debug)] -#[cfg_attr(feature="cargo-clippy", allow(large_enum_variant))] pub enum Frame { Message(HttpResponse), Payload(Option),