Skip to content

Commit c7a513e

Browse files
crumblingstatueseanmonstar
authored andcommitted
docs(client): make it clear what Read for Response reads
In case someone reads the documentation for `client::Response` without having read the documentation for the `client` module first, they might wonder what the `Read` impl actually reads. Let's clarify it by annotating the `Read` impl.
1 parent ce0b62e commit c7a513e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/client/response.rs

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ impl Response {
6464
}
6565
}
6666

67+
/// Read the response body.
6768
impl Read for Response {
6869
#[inline]
6970
fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> {

0 commit comments

Comments
 (0)