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 {