From 958e7f66d30922fa8ed1561e4a2e1d0aea258d0b Mon Sep 17 00:00:00 2001 From: Raphael Amorim Date: Sun, 14 Jan 2024 11:25:11 +0100 Subject: [PATCH] into_bytes --- src/test/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/mod.rs b/src/test/mod.rs index 9a9cbfe..23b32b8 100644 --- a/src/test/mod.rs +++ b/src/test/mod.rs @@ -23,7 +23,7 @@ impl TracedResponse { } } - pub async fn into_body(self) -> Result { + pub async fn into_bytes(self) -> Result { Ok(self.resp.into_body().collect().await?.to_bytes()) } }