mirror of
https://github.com/actix/actix-web.git
synced 2025-01-02 21:38:46 +00:00
Merge branch 'master' of github.com:actix/actix-web
This commit is contained in:
commit
dffb7936fb
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue