Add new warn_println() fn

This commit is contained in:
Luke Harding 2024-05-02 19:49:26 -04:00
parent ce121cbf23
commit 73c97a2c5a

View File

@ -7,3 +7,7 @@ pub fn print_copyright_notice() {
pub fn notice_println(msg: impl Into<String>) {
println!("{}", msg.into().green().bold());
}
pub fn warn_println(msg: impl Into<String>) {
eprintln!("{}", msg.into().yellow().bold());
}