Y
Hacker News
new
|
ask
|
show
|
jobs
by
calo_star
546 days ago
`std::optional<T>`'s style is more akin to using
if x.is_some() { let x_value = unsafe { x.unwrap_unchecked() }; }
everywhere.