Skip to content

Commit 2ebb4e6

Browse files
committed
Fix typo
1 parent 8d4906f commit 2ebb4e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/instances/instance-defs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ instance IntOrd of Ord[Int] {
1717
if (x < y) -1 else if (x > y) +1 else 0
1818
}
1919

20-
instance ListOrd[T: Ord] for Ord[List[T]] {
20+
instance ListOrd[T: Ord] of Ord[List[T]] {
2121
def (xs: List[T]) compareTo (ys: List[T]): Int = (xs, ys) match {
2222
case (Nil, Nil) => 0
2323
case (Nil, _) => -1

0 commit comments

Comments
 (0)