File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -146,9 +146,9 @@ pub unsafe fn take_stdin() -> OwnedFd {
146146///
147147/// # Warning
148148///
149- /// This function allows reading directly from stdout without coordinating
149+ /// This function allows writing directly to stdout without coordinating
150150/// with the buffering performed by [`std::io::Stdout`], so it could cause
151- /// corrupted input .
151+ /// corrupted output .
152152///
153153/// # References
154154/// - [POSIX]
@@ -192,9 +192,9 @@ pub const fn stdout() -> BorrowedFd<'static> {
192192///
193193/// # Warning
194194///
195- /// This function allows reading directly from stdout without coordinating
195+ /// This function allows writing directly to stdout without coordinating
196196/// with the buffering performed by [`std::io::Stdout`], so it could cause
197- /// corrupted input .
197+ /// corrupted output .
198198///
199199/// # References
200200/// - [POSIX]
You can’t perform that action at this time.
0 commit comments