We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
Patterns practice problems in Rust
Difficulty:
Category:
Tag:
Showing 10 of 10
| Status | Title | Difficulty | Category | Tags |
|---|---|---|---|---|
| Binding with @, and what or-patterns demand of bindings | Medium | Primitives |
|
|
| Destructuring structs and nested patterns | Medium | Primitives |
|
|
| `let _ =` versus `let _x =`: the guard that dies instantly | Medium | Primitives |
|
|
| Literal, range and or-patterns | Easy | Primitives |
|
|
| match and exhaustiveness: the compiler as a checklist | Easy | Primitives |
|
|
| matches! and the lints that push you toward it | Easy | Primitives |
|
|
| Match guards, and why they don't count toward exhaustiveness | Medium | Primitives |
|
|
| Ranges: .., ..=, and range patterns | Easy | Primitives |
|
|
| Refutability, and every place a pattern can appear | Medium | Primitives |
|
|
| Slice and array patterns, and rest @ .. | Medium | Primitives |
|