We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
Match practice problems in Rust
Difficulty:
Category:
Tag:
Showing 11 of 11
| Status | Title | Difficulty | Category | Tags |
|---|---|---|---|---|
| Binding with @, and what or-patterns demand of bindings | Medium | Primitives |
|
|
| Destructuring structs and nested patterns | Medium | Primitives |
|
|
| Enum dispatch: the third option | Medium | End-to-End |
|
|
| Enums are real sum types | Easy | Primitives |
|
|
| Literal, range and or-patterns | Easy | Primitives |
|
|
| match and exhaustiveness: the compiler as a checklist | Easy | Primitives |
|
|
| Match guards, and why they don't count toward exhaustiveness | Medium | Primitives |
|
|
| Matching on Option | Easy | Primitives |
|
|
| Ranges: .., ..=, and range patterns | Easy | Primitives |
|
|
| Slice and array patterns, and rest @ .. | Medium | Primitives |
|
|
| The wildcard trap: `_` arms freeze your enum against the future | Medium | Primitives |
|