File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ use crate::utils::Context as _;
1616/// ### Note: Windows Portability Consideration
1717///
1818/// When operating in a console, the Windows implementation of this stream does not support
19- /// non-UTF-8 byte sequences. Attempting to write bytes that are not valid UTF-8 will return
19+ /// non-UTF-8 byte sequences. Attempting to read bytes that are not valid UTF-8 will return
2020/// an error.
2121///
2222/// # Examples
@@ -49,7 +49,7 @@ pub fn stdin() -> Stdin {
4949/// ### Note: Windows Portability Consideration
5050///
5151/// When operating in a console, the Windows implementation of this stream does not support
52- /// non-UTF-8 byte sequences. Attempting to write bytes that are not valid UTF-8 will return
52+ /// non-UTF-8 byte sequences. Attempting to read bytes that are not valid UTF-8 will return
5353/// an error.
5454///
5555/// [`stdin`]: fn.stdin.html
@@ -79,7 +79,7 @@ struct Inner {
7979 /// The line buffer.
8080 line : String ,
8181
82- /// The write buffer.
82+ /// The read buffer.
8383 buf : Vec < u8 > ,
8484
8585 /// The result of the last asynchronous operation on the stdin.
You can’t perform that action at this time.
0 commit comments