Skip to content

Commit

Permalink
io: fix typo on BufReader (#2569)
Browse files Browse the repository at this point in the history
  • Loading branch information
cydave authored Jun 2, 2020
1 parent e70a1b6 commit be4577e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/io/util/buf_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ impl<R: AsyncRead> BufReader<R> {
self.project().inner
}

/// Consumes this `BufWriter`, returning the underlying reader.
/// Consumes this `BufReader`, returning the underlying reader.
///
/// Note that any leftover data in the internal buffer is lost.
pub fn into_inner(self) -> R {
Expand Down

0 comments on commit be4577e

Please sign in to comment.