We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6396ffa commit d2c8f9cCopy full SHA for d2c8f9c
std/src/sys/windows/stdio.rs
@@ -339,7 +339,7 @@ impl Stdout {
339
340
impl io::Write for Stdout {
341
fn write(&mut self, buf: &[u8]) -> io::Result<usize> {
342
- write(c::STD_ERROR_HANDLE, buf, &mut self.incomplete_utf8)
+ write(c::STD_OUTPUT_HANDLE, buf, &mut self.incomplete_utf8)
343
}
344
345
fn flush(&mut self) -> io::Result<()> {
0 commit comments