Skip to content

Commit

Permalink
Fix item 2
Browse files Browse the repository at this point in the history
  • Loading branch information
tautschnig committed Feb 18, 2025
1 parent f7278e8 commit f75f27a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rfc/src/rfcs/0014-may-panic-if-attr.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ change Kani's verification behavior as follows:
1. Kani will report successful verification when all properties hold and no
panic can occur. (This behavior is unchanged.)
2. Kani will also report successful verification when all properties hold, no
panic occurs when the condition given with `may_panic_if` holds, yet some
panic occurs when the condition does not hold.
panic occurs when the negation of the condition given with `may_panic_if`
holds, yet some panic occurs when the negation of the condition does not
hold.
3. Else Kani reports verification failure. (This behavior is unchanged.)

The following example describes what the overall contract for `unwrap` would
Expand Down

0 comments on commit f75f27a

Please sign in to comment.