diff --git a/src/output/fmt.rs b/src/output/fmt.rs index 85ba17749ea..dc1f46e08f0 100644 --- a/src/output/fmt.rs +++ b/src/output/fmt.rs @@ -69,8 +69,8 @@ impl Colorizer { }; let writer = match self.stream { - Stream::Stdout => BufferWriter::stderr(color_when), - Stream::Stderr => BufferWriter::stdout(color_when), + Stream::Stderr => BufferWriter::stderr(color_when), + Stream::Stdout => BufferWriter::stdout(color_when), }; let mut buffer = writer.buffer();