1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-30 18:34:36 +01: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>),