1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-10-05 09:42:08 +00:00

small documentation fix (#856)

This commit is contained in:
Aliaksandr Rahalevich 2019-05-21 10:43:18 -07:00 committed by Nikolay Kim
parent 5826f39dbe
commit fc85ae4014

View file

@ -249,7 +249,7 @@ where
/// .header(header::CONTENT_TYPE, "application/json")
/// .to_request();
///
/// let resp = call_service(&mut srv, req);
/// let resp = test::call_service(&mut app, req);
/// let result = test::read_body(resp);
/// assert_eq!(result, Bytes::from_static(b"welcome!"));
/// }