japaric/rust-by-example — pull request #136 by tjkierzkowski (2014-06-27 03:36:33+00:00)
Title: Update match.rs

match: type error in 'Pattern Matching' example
Close #135
- Added the explicit type declaration for the variables in match.rs
- Prevents the compiler errors when you initial hit Run
- Tested this in the live website and it works