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 {
146
146
///
147
147
/// # Warning
148
148
///
149
- /// This function allows reading directly from stdout without coordinating
149
+ /// This function allows writing directly to stdout without coordinating
150
150
/// with the buffering performed by [`std::io::Stdout`], so it could cause
151
- /// corrupted input .
151
+ /// corrupted output .
152
152
///
153
153
/// # References
154
154
/// - [POSIX]
@@ -192,9 +192,9 @@ pub const fn stdout() -> BorrowedFd<'static> {
192
192
///
193
193
/// # Warning
194
194
///
195
- /// This function allows reading directly from stdout without coordinating
195
+ /// This function allows writing directly to stdout without coordinating
196
196
/// with the buffering performed by [`std::io::Stdout`], so it could cause
197
- /// corrupted input .
197
+ /// corrupted output .
198
198
///
199
199
/// # References
200
200
/// - [POSIX]
You can’t perform that action at this time.
0 commit comments