rust: match.rs