1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-08-01 10:15:05 +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 where T: AsyncRead + AsyncWrite + 'static, H: 'static
{ {
router: Rc<Vec<H>>, router: Rc<Vec<H>>,
#[allow(dead_code)]
addr: Option<SocketAddr>, addr: Option<SocketAddr>,
state: State<IoWrapper<T>>, state: State<IoWrapper<T>>,
disconnected: bool, disconnected: bool,

View file

@ -16,7 +16,6 @@ use httpresponse::HttpResponse;
#[doc(hidden)] #[doc(hidden)]
#[derive(Debug)] #[derive(Debug)]
#[cfg_attr(feature="cargo-clippy", allow(large_enum_variant))]
pub enum Frame { pub enum Frame {
Message(HttpResponse), Message(HttpResponse),
Payload(Option<Binary>), Payload(Option<Binary>),