Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 0202273

Browse files
committed
fix c&p error
1 parent 60b149f commit 0202273

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/sys/windows/stdio.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ impl Stdout {
339339

340340
impl io::Write for Stdout {
341341
fn write(&mut self, buf: &[u8]) -> io::Result<usize> {
342-
write(c::STD_ERROR_HANDLE, buf, &mut self.incomplete_utf8)
342+
write(c::STD_OUTPUT_HANDLE, buf, &mut self.incomplete_utf8)
343343
}
344344

345345
fn flush(&mut self) -> io::Result<()> {

0 commit comments

Comments
 (0)