You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The suggested fix should be maybe_x |> option.lazy_unwrap(fn () { panic }) which is likely what the user wanted, as using maybe_x |> option.unwrap(panic) always panics since the argument isn't lazily evaluated. todo has the same problem as panic here.
The text was updated successfully, but these errors were encountered:
The suggested fix should be
maybe_x |> option.lazy_unwrap(fn () { panic })
which is likely what the user wanted, as usingmaybe_x |> option.unwrap(panic)
always panics since the argument isn't lazily evaluated.todo
has the same problem aspanic
here.The text was updated successfully, but these errors were encountered: