fn colorize(message: &str, color: &ColorSpec) {
    let mut stdout = StandardStream::stdout(*COLOR_CHOICE);
    stdout.set_color(color).unwrap();
    write!(&mut stdout, "{}", message).unwrap();
    stdout.set_color(&ColorSpec::new()).unwrap();
    writeln!(&mut stdout).unwrap();
}
/// Print a colorized message to stdout
Print a colorized message to stdout
Print a colorized message to stdout
fn colorize(message: &str, color: &ColorSpec) {
    let mut stdout = StandardStream::stdout(*COLOR_CHOICE);
    stdout.set_color(color).unwrap();
    write!(&mut stdout, "{}", message).unwrap();
    stdout.set_color(&ColorSpec::new()).unwrap();
    writeln!(&mut stdout).unwrap();
}
fn colorize ( message : & str , color : & ColorSpec ) { let mut stdout = StandardStream :: stdout ( * COLOR_CHOICE ) ; stdout . set_color ( color ) . unwrap ( ) ; write ! ( mut stdout " " message ) . unwrap ( ) ; stdout . set_color ( & ColorSpec :: new ( ) ) . unwrap ( ) ; writeln ! ( mut stdout ) . unwrap ( ) ; }
Print a colorized message to stdout
Print a colorized message to stdout
message
&str
color
&ColorSpec
message
&str
color
&ColorSpec