mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-22 00:00:11 +02:00
io: fix typo on BufReader (#2569)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user