Skip to content

Commit

Permalink
io: fix typo on BufReader (tokio-rs#2569)
Browse files Browse the repository at this point in the history
  • Loading branch information
cydave authored and jensim committed Jun 7, 2020
1 parent 7367abc commit edcc303
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 edcc303

Please sign in to comment.