1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-21 23:56:35 +00:00

Fix read_body doc

This commit is contained in:
Yuki Okushi 2020-03-13 05:52:58 +09:00
parent 9f196fe5a5
commit d602a7e386
No known key found for this signature in database
GPG key ID: B0986C85C0E2DAA1

View file

@ -187,7 +187,7 @@ where
/// .to_request();
///
/// let resp = test::call_service(&mut app, req).await;
/// let result = test::read_body(resp);
/// let result = test::read_body(resp).await;
/// assert_eq!(result, Bytes::from_static(b"welcome!"));
/// }
/// ```