From d602a7e3863fbc8fcd7e0bf950c3c72ede529fd8 Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Fri, 13 Mar 2020 05:52:58 +0900 Subject: [PATCH] Fix `read_body` doc --- src/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test.rs b/src/test.rs index 0eb02ff7..15e66a23 100644 --- a/src/test.rs +++ b/src/test.rs @@ -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!")); /// } /// ```