mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-25 06:39:22 +02:00
awc: Fix typo on ResponseError documentation (#815)
* awc: Fix typo on ResponseError documentation Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> * http: Fix typo on ResponseError documentation Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> * http: Expand type names for openssl related errors documentation Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
committed by
Nikolay Kim
parent
337c2febe3
commit
6e00eef63a
@ -65,7 +65,7 @@ pub enum JsonPayloadError {
|
||||
Payload(PayloadError),
|
||||
}
|
||||
|
||||
/// Return `InternlaServerError` for `JsonPayloadError`
|
||||
/// Return `InternalServerError` for `JsonPayloadError`
|
||||
impl ResponseError for JsonPayloadError {
|
||||
fn error_response(&self) -> Response {
|
||||
Response::new(StatusCode::INTERNAL_SERVER_ERROR)
|
||||
|
Reference in New Issue
Block a user