mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-25 12:00:35 +00:00
io: fix typo on BufReader (#2569)
This commit is contained in:
parent
e70a1b6d64
commit
be4577e22f
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user