io: fix typo on BufReader (#2569)

This commit is contained in:
‏‏Dave
2020-06-02 08:49:47 +02:00
committed by GitHub
parent e70a1b6d64
commit be4577e22f
+1 -1
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 {