|
|
|
|
|
by alkonaut
2192 days ago
|
|
It’s always possible, even in a Rust Option you’ll panic when you extract the value with unwrap() without knowing that it’s valid. What it does is preventing the accidental use of a missing value. You can’t pass the Option<T> on to a function taking a T without explicitly doing it. |
|