Skip to content

Commit 847f719

Browse files
author
mvaude
committed
fix(yaml-example): inconsistent args
change yaml example to be consistent with its configuration fix #707, #708
1 parent 0f8764c commit 847f719

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/17_yaml.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ fn main() {
3636
// see that it works...
3737
if let Some(mode) = m.value_of("mode") {
3838
match mode {
39-
"fast" => println!("We're really going now!"),
40-
"slow" => println!("Awwww, too slow :("),
39+
"vi" => println!("You are using vi"),
40+
"emacs" => println!("You are using emacs..."),
4141
_ => unreachable!()
4242
}
4343
} else {

0 commit comments

Comments
 (0)