Commit 6c6b2409 authored by Alex Yankov's avatar Alex Yankov Committed by Josh Mcguigan

Reset style in color example before exit (#138)

parent a29929ee
......@@ -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);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment