small documentation fix

This commit is contained in:
Aliaksandr Rahalevich 2019-05-20 19:21:34 -07:00
parent 5826f39dbe
commit ce92eaa8b3
1 changed files with 1 additions and 1 deletions

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!"));
/// }