From f4e5c83b28c480dbe2d6e9547db4cfef6f60a1d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Buga?= Date: Tue, 17 Oct 2023 16:29:36 +0200 Subject: [PATCH] Fix typo --- src/response.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/response.rs b/src/response.rs index fe0a33d..8b10017 100644 --- a/src/response.rs +++ b/src/response.rs @@ -234,7 +234,7 @@ impl<'buf, 'conn, C: Read> ResponseBody<'buf, 'conn, C> { /// This requires that this original buffer is large enough to contain the entire body. /// /// This is not valid for chunked responses as it requires that the body bytes over-read - /// while parsing the http response header would be availble for the body reader. + /// while parsing the http response header would be available for the body reader. /// For this case, of if the original buffer is not large enough, use /// [`BodyReader::read_to_end()`] instead from the reader returned by [`ResponseBody::reader()`]. pub async fn read_to_end(self) -> Result<&'buf mut [u8], Error> {