From 89e35b9ed8f9a021080b8eaafb96e95a76de6641 Mon Sep 17 00:00:00 2001 From: daddinuz Date: Sun, 12 May 2019 20:30:39 +0200 Subject: [PATCH] fix lint: members in the impl has the same order in the trait --- src/types/json.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/json.rs b/src/types/json.rs index a1a9859c9..4e827942f 100644 --- a/src/types/json.rs +++ b/src/types/json.rs @@ -168,9 +168,9 @@ impl FromRequest for Json where T: DeserializeOwned + 'static, { - type Config = JsonConfig; type Error = Error; type Future = Box>; + type Config = JsonConfig; #[inline] fn from_request(req: &HttpRequest, payload: &mut Payload) -> Self::Future {