Skip to content

Commit 3cbf3dd

Browse files
Merge pull request #95 from unkarjedy/patch-1
Update typeclasses-syntax.md
2 parents bdb2bde + 3bff9c3 commit 3cbf3dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/typeclasses-syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Aggregate context bounds like `A : X : Y` are not obvious to read, and it become
9595
to import clauses. Example:
9696

9797
```scala
98-
trait:
98+
trait A:
9999
def showMax[X : {Ordering, Show}](x: X, y: X): String
100100
class B extends A:
101101
def showMax[X : {Ordering as ordering, Show as show}](x: X, y: X): String =

0 commit comments

Comments
 (0)