Kind of like a C Switch Statements.
match value {
pattern1 => expression1,
pattern2 => expression2,
_ => default_expression,
}
Kind of like a C Switch Statements.
match value {
pattern1 => expression1,
pattern2 => expression2,
_ => default_expression,
}