Skip to content

Commit 7fcaa84

Browse files
authored
doc(context-fun): note usage of a creator application
1 parent dd95372 commit 7fcaa84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/contextual/context-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ with context function types as parameters to avoid the plumbing boilerplate
8484
that would otherwise be necessary.
8585
```scala
8686
def table(init: Table ?=> Unit) = {
87-
given t as Table
87+
given t as Table // note the use of a creator application; same as: given t as new Table
8888
init
8989
t
9090
}

0 commit comments

Comments
 (0)