Skip to content

Commit 4cf5dc3

Browse files
committed
Fix typo
1 parent 5522497 commit 4cf5dc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/witnesses/replacing-implicits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ trait TastyImpl extends TastyAPI {
3030
witness symDeco: SymDeco = compilerSymOps
3131
}
3232
```
33-
Note that the result type of an abstract or alias witness is introduced with a colon instead of a `for`. This seems more natural since it evokes the similarity to implicit parameters, whose type is also given following a `:`. It also avoids the syntactic ambiguity with a witness
33+
Note that the result type of an abstract or alias witness is introduced with a colon instead of an `of`. This seems more natural since it evokes the similarity to implicit parameters, whose type is also given following a `:`. It also avoids the syntactic ambiguity with a witness
3434
for a class that does not add any new definitions. I.e.
3535
```scala
3636
witness a of C // concrete witness for class C, no definitions added

0 commit comments

Comments
 (0)