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 398c8ce commit 2ff0b4cCopy full SHA for 2ff0b4c
docs/docs/reference/contextual/givens.md
@@ -62,7 +62,7 @@ returned for this and all subsequent accesses to `global`.
62
Alias givens can be anonymous, e.g.
63
```scala
64
given as Position = enclosingTree.position
65
-given with outer: Context as Context = outer.withOwner(currentOwner)
+given with (outer: Context) as Context = outer.withOwner(currentOwner)
66
```
67
An alias given can have type parameters and implicit parameters just like any other given,
68
but it can only implement a single type.
0 commit comments