From 7f13b74db4e408011eff5c70334edfb2d522ced2 Mon Sep 17 00:00:00 2001 From: vo9312 Date: Fri, 26 Jun 2020 11:36:31 -0500 Subject: [PATCH] Update errors.md --- content/docs/errors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/errors.md b/content/docs/errors.md index e39259e..b9c13f7 100644 --- a/content/docs/errors.md +++ b/content/docs/errors.md @@ -16,7 +16,7 @@ If a handler returns an `Error` (referring to the [general Rust trait ```rust pub trait ResponseError { - fn error_response(&self) -> HttpResponse; + fn error_response(&self) -> Response; fn status_code(&self) -> StatusCode; } ```