mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-27 07:19:04 +02:00
fix typos (#2982)
This commit is contained in:
@ -14,7 +14,7 @@
|
||||
- `actix_http_test::TestServer` moved to `actix_web::test` module. To start
|
||||
test server use `test::start()` or `test_start_with_config()` methods
|
||||
|
||||
- `ResponseError` trait has been reafctored. `ResponseError::error_response()` renders
|
||||
- `ResponseError` trait has been refactored. `ResponseError::error_response()` renders
|
||||
http response.
|
||||
|
||||
- Feature `rust-tls` renamed to `rustls`
|
||||
|
@ -268,7 +268,7 @@ where
|
||||
})
|
||||
}
|
||||
|
||||
/// Fallible version of [`read_body_json`] that allows testing response deserialzation errors.
|
||||
/// Fallible version of [`read_body_json`] that allows testing response deserialization errors.
|
||||
pub async fn try_read_body_json<T, B>(res: ServiceResponse<B>) -> Result<T, Box<dyn StdError>>
|
||||
where
|
||||
B: MessageBody,
|
||||
|
Reference in New Issue
Block a user