From 8cf6f60e9390d4e4d0b88528fbf0c055d481a5a0 Mon Sep 17 00:00:00 2001 From: Miles Murgaw Date: Sun, 4 Jun 2023 12:49:22 -0400 Subject: [PATCH] fix: change error println to eprintln --- src/cli/autoformat/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/autoformat/mod.rs b/src/cli/autoformat/mod.rs index 9a93942f8..2bed439cd 100644 --- a/src/cli/autoformat/mod.rs +++ b/src/cli/autoformat/mod.rs @@ -57,7 +57,7 @@ impl Autoformat { println!("formatted {}", file); } Err(e) => { - println!("failed to write formatted content to file: {}", e); + eprintln!("failed to write formatted content to file: {}", e); } } }