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:
parent
8e80fed2af
commit
b62b303fdb
@ -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,
|
||||
|
@ -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>),
|
||||
|
Loading…
Reference in New Issue
Block a user