Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
emberian committed May 16, 2014
1 parent 26238c9 commit 1fe15b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/libterm/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
//! }
//! ```
//!
Expand Down

0 comments on commit 1fe15b9

Please sign in to comment.