From 6b43fc7068e4d523fc0592315fcaf3503234c1a0 Mon Sep 17 00:00:00 2001 From: Matthijs Brobbel Date: Tue, 29 May 2018 18:11:10 +0200 Subject: [PATCH] Fix typo in httpresponse.rs --- src/httpresponse.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/httpresponse.rs b/src/httpresponse.rs index ec3c9562c..af5a20c58 100644 --- a/src/httpresponse.rs +++ b/src/httpresponse.rs @@ -86,7 +86,7 @@ impl HttpResponse { HttpResponsePool::with_body(status, body.into()) } - /// Constructs a error response + /// Constructs an error response #[inline] pub fn from_error(error: Error) -> HttpResponse { let mut resp = error.cause().error_response();