Guest User

Untitled

a guest
Jun 19th, 2019
68
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. enum Test {
  2. One,
  3. Two,
  4. Four,
  5. }
  6.  
  7. fn main() {
  8.  
  9. }
  10.  
  11. fn test(input: u32) {
  12. match input {
  13. Test::One => println!("Result: 1"),
  14. _ => (),
  15. }
  16. }
RAW Paste Data