Skip to content

Commit 0ba8a6f

Browse files
committed
Another typo fix
1 parent b642e7f commit 0ba8a6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/cpp2/contracts.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Cpp2 currently supports three kinds of contracts:
77

88
- **Preconditions and postconditions.** A function declaration can include `pre(condition)` and `post(condition)` before the `= /* function body */`. Before entering the function body, preconditions are fully evaluated and postconditions are captured (and performs their captures, if any). Immediately before exiting the function body via a normal return, postconditions are evaluated. If the function exits via an exception, postconditions are not evaluated.
99

10-
- **Assertions.** Inside a function body, writing `assert(condition)` assertion statements. Assertions are evaluated when control flow passes through them.
10+
- **Assertions.** A function body can write `assert(condition)` assertion statements. Assertions are evaluated when control flow passes through them.
1111

1212
Notes:
1313

0 commit comments

Comments
 (0)