Rust · Method
Option::unwrap
Option::unwrap extracts the value from Some. It panics when called on None.
Last updated
- Since
- 1.0.0
Syntax
pub fn unwrap(self) -> TIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
OptionOption::expectOption::is_someSomeNonematch