From 406d2c41e95b5f6fc20129921f05ea293398b7c1 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Wed, 20 Dec 2017 20:56:17 -0800 Subject: [PATCH] add doc string --- src/json.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/json.rs b/src/json.rs index 93cff413..a33fa46d 100644 --- a/src/json.rs +++ b/src/json.rs @@ -85,6 +85,7 @@ pub struct JsonBody{ impl JsonBody { + /// Create `JsonBody` for request. pub fn from_request(req: &mut HttpRequest) -> Self { JsonBody{ limit: 262_144,