We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
Option practice problems in Rust
Difficulty:
Category:
Tag:
Showing 16 of 16
| Status | Title | Difficulty | Category | Tags |
|---|---|---|---|---|
| Borrowing through Option | Medium | Primitives |
|
|
| checked, wrapping, saturating, overflowing | Medium | Primitives |
|
|
| Converting between Option and Result | Medium | Primitives |
|
|
| E0509: a Drop type is an atom | Hard | Primitives |
|
|
| Eager vs lazy defaults | Easy | Primitives |
|
|
| fold and try_fold: a total that refuses to overflow | Medium | Primitives |
|
|
| From, Into, TryFrom: conversions that cannot lie | Medium | Primitives |
|
|
| map, filter, filter_map: parse host:port lines | Easy | Primitives |
|
|
| Matching on Option | Easy | Primitives |
|
|
| Mutating an Option in place | Medium | Primitives |
|
|
| `?` on Option, and bridging to Result | Medium | Primitives |
|
|
| Reborrowing: why &mut sometimes moves and sometimes doesn't | Hard | Primitives |
|
|
| ref, ref mut, and default binding modes in edition 2024 | Medium | Primitives |
|
|
| Slices &[T]: the shape that unifies arrays and Vec | Medium | Primitives |
|
|
| The Option combinator vocabulary | Easy | Primitives |
|
|
| Type sizes, enum layout and niche optimisation | Medium | Primitives |
|