Skip to main content

allowed_to_panic_if

Function allowed_to_panic_if 

Source
pub open spec fn allowed_to_panic_if(condition: bool) -> bool
Expand description
{ condition ==> internal::may_panic() }

Requires permission to panic when the condition holds. A false condition discharges this precondition without panic permission.