From b62b303fdbaef783651f0b39526d38c22c6b53e4 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Sun, 26 Nov 2017 22:11:51 -0800 Subject: [PATCH] remove unneeded directives --- src/h2.rs | 1 - src/route.rs | 1 - 2 files changed, 2 deletions(-) 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),