We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 900c13e commit 5b5196aCopy full SHA for 5b5196a
src/libstd/io/buffered.rs
@@ -24,8 +24,9 @@ use crate::memchr;
24
///
25
/// When the `BufReader<R>` is dropped, the contents of its buffer will be
26
/// discarded. Creating multiple instances of a `BufReader<R>` on the same
27
-/// stream can cause data loss, as well as reading from the underlying reader
28
-/// after unwrapping the `BufReader<R>` instance with `BufReader<R>::into_inner()`.
+/// stream can cause data loss. Reading from the underlying reader after
+/// unwrapping the `BufReader<R>` with `BufReader::into_inner` can also cause
29
+/// data loss.
30
31
/// [`Read`]: ../../std/io/trait.Read.html
32
/// [`TcpStream::read`]: ../../std/net/struct.TcpStream.html#method.read
0 commit comments