Skip to content

Commit 4c3e707

Browse files
authored
Update docs/docs/reference/contextual/context-functions.md
1 parent 6bd0d8e commit 4c3e707

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
@@ -93,7 +93,7 @@ with context function types as parameters to avoid the plumbing boilerplate
9393
that would otherwise be necessary.
9494
```scala
9595
def table(init: Table ?=> Unit) = {
96-
given t as Table // note the use of a creator application; same as: given t as new Table
96+
given t as Table // note the use of a creator application; same as: given t as Table = new Table
9797
init
9898
t
9999
}

0 commit comments

Comments
 (0)