Add new warn_println() fn
This commit is contained in:
parent
ce121cbf23
commit
73c97a2c5a
@ -7,3 +7,7 @@ pub fn print_copyright_notice() {
|
|||||||
pub fn notice_println(msg: impl Into<String>) {
|
pub fn notice_println(msg: impl Into<String>) {
|
||||||
println!("{}", msg.into().green().bold());
|
println!("{}", msg.into().green().bold());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn warn_println(msg: impl Into<String>) {
|
||||||
|
eprintln!("{}", msg.into().yellow().bold());
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user