diff --git a/src/response.rs b/src/response.rs index e82655c..20703ad 100644 --- a/src/response.rs +++ b/src/response.rs @@ -273,7 +273,7 @@ where /// /// This is not valid for chunked responses as it requires that the body bytes over-read /// 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 + /// For this case, or 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> { // We can only read responses with Content-Length header to end using the body_buf buffer,