From 41ece4184ba66762bb03e8d027530411cb369f8e Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Wed, 18 Oct 2023 23:30:07 -0400 Subject: [PATCH] Print to stderr by default (#134) --- crates/puffin-cli/src/printer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/puffin-cli/src/printer.rs b/crates/puffin-cli/src/printer.rs index ce1003f6c..6cd53fb8d 100644 --- a/crates/puffin-cli/src/printer.rs +++ b/crates/puffin-cli/src/printer.rs @@ -26,9 +26,9 @@ impl std::fmt::Write for Printer { fn write_str(&mut self, s: &str) -> std::fmt::Result { match self { Self::Default | Self::Verbose => { - #[allow(clippy::print_stdout)] + #[allow(clippy::print_stderr)] { - print!("{s}"); + eprint!("{s}"); } } Self::Quiet => {}