1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-26 15:07:42 +02:00

Add ability to use Infallible as HttpResponse error type (#1093)

* Add `std::convert::Infallible` implementantion for `ResponseError`

* Add from `std::convert::Infallible` to `Error`

* Remove `ResponseError` implementantion for `Infallible`

* Remove useless docs

* Better comment

* Update changelog

* Update actix_http::changelog
This commit is contained in:
nWacky
2019-09-17 03:57:39 +03:00
committed by Nikolay Kim
parent c1f99e0775
commit 7c9f9afc46
2 changed files with 11 additions and 0 deletions

View File

@ -6,6 +6,9 @@
* Add support for sending HTTP requests with `Rc<RequestHead>` in addition to sending HTTP requests with `RequestHead`
* Allow to use `std::convert::Infallible` as `actix_http::error::Error`
### Fixed
* h2 will use error response #1080