Fix example

This commit is contained in:
Corey Richardson 2014-05-11 20:10:03 -04:00
parent 26238c9a24
commit 1fe15b95cb

View File

@ -22,12 +22,12 @@
//! extern crate term;
//!
//! fn main() {
//! let mut t = term::stdout();
//! t.fg(term::color::GREEN);
//! let mut t = term::stdout().unwrap();
//! t.fg(term::color::GREEN).unwrap();
//! println!("hello, ");
//! t.fg(term::color::RED);
//! t.fg(term::color::RED).unwrap();
//! println!("world!");
//! t.reset();
//! t.reset().unwrap();
//! }
//! ```
//!