From 592d4655dfd0903f111ef3f7020834473330334c Mon Sep 17 00:00:00 2001 From: Stig Johan Berggren Date: Mon, 16 Mar 2020 16:35:21 +0100 Subject: [PATCH] Remove a redundant comment --- src/types/json.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/types/json.rs b/src/types/json.rs index 0c704ad05..df8aa4fc6 100644 --- a/src/types/json.rs +++ b/src/types/json.rs @@ -223,8 +223,6 @@ where /// format!("Welcome {}!", info.username) /// } /// -/// /// Create custom error response -/// /// /// Return either a 400 or 415, and include the error message from serde /// /// in the response body /// fn json_error_handler(err: error::JsonPayloadError, _req: &HttpRequest) -> error::Error {