fix lint: members in the impl has the same order in the trait

This commit is contained in:
daddinuz 2019-05-12 20:30:39 +02:00
parent af92ed2817
commit 89e35b9ed8
1 changed files with 1 additions and 1 deletions

View File

@ -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 {