Skip to content

Commit 38efdc7

Browse files
committed
Merge branch 'main' of https://github.com/hsutter/cppfront
2 parents 66b5c09 + f157e20 commit 38efdc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/cpp2/expressions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ For example:
277277

278278
``` cpp title="Capture in contract postconditions" hl_lines="2"
279279
push_back: (coll, value)
280-
[[post: coll.ssize() == coll.ssize()$ + 1]]
280+
post(coll.ssize() == coll.ssize()$ + 1)
281281
// Paste the value of `coll.ssize()`
282282
= {
283283
// ...

0 commit comments

Comments
 (0)