Skip to content

Commit

Permalink
update postcondition syntax
Browse files Browse the repository at this point in the history
Signed-off-by: gregmarr <[email protected]>
  • Loading branch information
gregmarr authored Mar 20, 2024
1 parent 61deed8 commit 7f39f96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cpp2/expressions.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ For example:

``` cpp title="Capture in contract postconditions" hl_lines="2"
push_back: (coll, value)
[[post: coll.ssize() == coll.ssize()$ + 1]]
post(coll.ssize() == coll.ssize()$ + 1)
// Paste the value of `coll.ssize()`
= {
// ...
Expand Down

0 comments on commit 7f39f96

Please sign in to comment.