Reset style in color example before exit (#138)

This commit is contained in:
Alex Yankov 2018-05-08 23:44:29 -04:00 committed by Josh Mcguigan
parent a29929ee34
commit 6c6b240961
1 changed files with 1 additions and 1 deletions

View File

@ -6,5 +6,5 @@ fn main() {
println!("{}Red", color::Fg(color::Red));
println!("{}Blue", color::Fg(color::Blue));
println!("{}Blue'n'Bold{}", style::Bold, style::Reset);
println!("{}Just plain italic", style::Italic);
println!("{}Just plain italic{}", style::Italic, style::Reset);
}