1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-24 16:02:59 +01:00

Merge branch 'master' of github.com:actix/actix-web

This commit is contained in:
Nikolay Kim 2018-05-29 10:31:43 -07:00
commit dffb7936fb

View File

@ -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();