io: fix typo on BufReader (#2569)

This commit is contained in:
‏‏Dave 2020-06-02 06:49:47 +00:00 committed by GitHub
parent e70a1b6d64
commit be4577e22f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {