diff options
author | Dave <47663767+cydave@users.noreply.github.com> | 2020-06-02 06:49:47 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-02 08:49:47 +0200 |
commit | be4577e22f7d0e899501b67408b5befff5adda29 (patch) | |
tree | f473a51fd3e05a53fc107b79de650d543931ea55 /tokio/src/io | |
parent | e70a1b6d64ac2b3943d674d8f3b0b362fdc668b9 (diff) |
io: fix typo on BufReader (#2569)
Diffstat (limited to 'tokio/src/io')
-rw-r--r-- | tokio/src/io/util/buf_reader.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/io/util/buf_reader.rs b/tokio/src/io/util/buf_reader.rs index 0177c0e3..8fe8e83c 100644 --- a/tokio/src/io/util/buf_reader.rs +++ b/tokio/src/io/util/buf_reader.rs @@ -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 { |