Show the variable declaration in this example

I think the variable declaration makes this clearer, in case the reader
wants to copy-paste and play with it.
This commit is contained in:
Carol (Nichols || Goulding) 2016-07-01 12:58:13 -06:00
parent 30604a5fe8
commit 957eb7e517

View File

@ -154,7 +154,7 @@ list out 0, 2, 4, 6, 8, 9, all the way up through 255? Thankfully, no! We can
use a special pattern, `_`:
```rust
# let some_u8_value = 0u8;
let some_u8_value = 0u8;
match some_u8_value {
1 => println!("one"),
3 => println!("three"),