We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd95372 commit 7fcaa84Copy full SHA for 7fcaa84
docs/docs/reference/contextual/context-functions.md
@@ -84,7 +84,7 @@ with context function types as parameters to avoid the plumbing boilerplate
84
that would otherwise be necessary.
85
```scala
86
def table(init: Table ?=> Unit) = {
87
- given t as Table
+ given t as Table // note the use of a creator application; same as: given t as new Table
88
init
89
t
90
}
0 commit comments