fix: change error println to eprintln

This commit is contained in:
Miles Murgaw committed 2023-06-04 12:49:22 -04:00
1 parent e8d011b476
commit 8cf6f60e93
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}
}
}