mirror of https://github.com/fafhrd91/actix-web
fix lint: members in the impl has the same order in the trait
This commit is contained in:
parent
af92ed2817
commit
89e35b9ed8
|
@ -168,9 +168,9 @@ impl<T> FromRequest for Json<T>
|
|||
where
|
||||
T: DeserializeOwned + 'static,
|
||||
{
|
||||
type Config = JsonConfig;
|
||||
type Error = Error;
|
||||
type Future = Box<Future<Item = Self, Error = Error>>;
|
||||
type Config = JsonConfig;
|
||||
|
||||
#[inline]
|
||||
fn from_request(req: &HttpRequest, payload: &mut Payload) -> Self::Future {
|
||||
|
|
Loading…
Reference in New Issue