Print to stderr by default (#134)

This commit is contained in:
Charlie Marsh 2023-10-18 23:30:07 -04:00 committed by GitHub
parent 20bb4c5c61
commit 41ece4184b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,9 +26,9 @@ impl std::fmt::Write for Printer {
fn write_str(&mut self, s: &str) -> std::fmt::Result { fn write_str(&mut self, s: &str) -> std::fmt::Result {
match self { match self {
Self::Default | Self::Verbose => { Self::Default | Self::Verbose => {
#[allow(clippy::print_stdout)] #[allow(clippy::print_stderr)]
{ {
print!("{s}"); eprint!("{s}");
} }
} }
Self::Quiet => {} Self::Quiet => {}