mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-27 17:52:56 +01:00
Fix clippy warnings
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
parent
a253d7d3ce
commit
7e0d898d5a
@ -9,7 +9,6 @@ use bytes::Bytes;
|
|||||||
use derive_more::From;
|
use derive_more::From;
|
||||||
use futures_core::{Future, Stream};
|
use futures_core::{Future, Stream};
|
||||||
use serde::Serialize;
|
use serde::Serialize;
|
||||||
use serde_json;
|
|
||||||
|
|
||||||
use actix_http::body::{Body, BodyStream};
|
use actix_http::body::{Body, BodyStream};
|
||||||
use actix_http::http::header::{self, IntoHeaderValue};
|
use actix_http::http::header::{self, IntoHeaderValue};
|
||||||
|
@ -11,7 +11,6 @@ use futures::future::{err, ok, FutureExt, LocalBoxFuture, Ready};
|
|||||||
use futures::StreamExt;
|
use futures::StreamExt;
|
||||||
use serde::de::DeserializeOwned;
|
use serde::de::DeserializeOwned;
|
||||||
use serde::Serialize;
|
use serde::Serialize;
|
||||||
use serde_json;
|
|
||||||
|
|
||||||
use actix_http::http::{header::CONTENT_LENGTH, StatusCode};
|
use actix_http::http::{header::CONTENT_LENGTH, StatusCode};
|
||||||
use actix_http::{HttpMessage, Payload, Response};
|
use actix_http::{HttpMessage, Payload, Response};
|
||||||
|
@ -6,7 +6,6 @@ use std::{fmt, ops};
|
|||||||
use actix_http::error::Error;
|
use actix_http::error::Error;
|
||||||
use futures::future::{err, ok, Ready};
|
use futures::future::{err, ok, Ready};
|
||||||
use serde::de;
|
use serde::de;
|
||||||
use serde_urlencoded;
|
|
||||||
|
|
||||||
use crate::dev::Payload;
|
use crate::dev::Payload;
|
||||||
use crate::error::QueryPayloadError;
|
use crate::error::QueryPayloadError;
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
// Regression test for #/1321
|
// Regression test for #/1321
|
||||||
|
|
||||||
|
/*
|
||||||
use futures::task::{noop_waker, Context};
|
use futures::task::{noop_waker, Context};
|
||||||
use futures::stream::once;
|
use futures::stream::once;
|
||||||
use actix_http::body::{MessageBody, BodyStream};
|
use actix_http::body::{MessageBody, BodyStream};
|
||||||
use bytes::Bytes;
|
use bytes::Bytes;
|
||||||
|
|
||||||
/*
|
|
||||||
Disable weird poll until actix-web is based on actix-http 2.0.0
|
Disable weird poll until actix-web is based on actix-http 2.0.0
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
Loading…
Reference in New Issue
Block a user