docs(examples): Provide visual indication of user choice

This commit is contained in:
Ed Page 2021-11-11 19:06:50 -06:00
parent 74d41b6f52
commit 7c24e937f8

View file

@ -24,10 +24,10 @@ fn main() {
// Note, it's safe to call unwrap() because the arg is required
match matches.value_of("MODE").unwrap() {
"fast" => {
// Do fast things...
println!("Hare");
}
"slow" => {
// Do slow things...
println!("Tortoise");
}
_ => unreachable!(),
}