1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-24 22:37:35 +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:
Otavio Salvador
2019-05-03 18:30:00 -03:00
committed by Nikolay Kim
parent 337c2febe3
commit 6e00eef63a
2 changed files with 4 additions and 4 deletions

View File

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