Lesson 15 of 25 · +130 xp

Match

Pattern matching.

Explained simply

Your task

Write: match x { 0 => "zero", _ => "other" }

match.rust
← Back