Skip to content

Commit

Permalink
fix(yaml-example): inconsistent args
Browse files Browse the repository at this point in the history
change yaml example to be consistent with its configuration

fix #707, #708
  • Loading branch information
mvaude committed Oct 27, 2016
1 parent 0f8764c commit 847f719
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/17_yaml.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ fn main() {
// see that it works...
if let Some(mode) = m.value_of("mode") {
match mode {
"fast" => println!("We're really going now!"),
"slow" => println!("Awwww, too slow :("),
"vi" => println!("You are using vi"),
"emacs" => println!("You are using emacs..."),
_ => unreachable!()
}
} else {
Expand Down

0 comments on commit 847f719

Please sign in to comment.