1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-07-11 16:26:15 +00:00

remove unneeded directives

This commit is contained in:
Nikolay Kim 2017-11-26 22:11:51 -08:00
parent 8e80fed2af
commit b62b303fdb
2 changed files with 0 additions and 2 deletions

View file

@ -29,7 +29,6 @@ pub(crate) struct Http2<T, H>
where T: AsyncRead + AsyncWrite + 'static, H: 'static
{
router: Rc<Vec<H>>,
#[allow(dead_code)]
addr: Option<SocketAddr>,
state: State<IoWrapper<T>>,
disconnected: bool,

View file

@ -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<Binary>),