From fc85ae401486ba013865c62e6b4e867e4c0ffb75 Mon Sep 17 00:00:00 2001 From: Aliaksandr Rahalevich Date: Tue, 21 May 2019 10:43:18 -0700 Subject: [PATCH] small documentation fix (#856) --- src/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test.rs b/src/test.rs index 979a8bc4a..a9b1d3b78 100644 --- a/src/test.rs +++ b/src/test.rs @@ -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!")); /// }