From af92ed2817d6c5ac769a8e24f5d54e4e3b688d20 Mon Sep 17 00:00:00 2001 From: daddinuz Date: Sun, 12 May 2019 20:28:28 +0200 Subject: [PATCH] use associated type inside JsonConfig --- 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 62ec5b6bd..a1a9859c9 100644 --- a/src/types/json.rs +++ b/src/types/json.rs @@ -176,7 +176,7 @@ where fn from_request(req: &HttpRequest, payload: &mut Payload) -> Self::Future { let req2 = req.clone(); let (limit, err) = req - .app_data::() + .app_data::() .map(|c| (c.limit, c.ehandler.clone())) .unwrap_or((32768, None));