Skip to content

Commit ffd6a58

Browse files
authored
Merge pull request #9272 from dotty-staging/fix-derivation-doc
Fix typo in typeclass derivation
2 parents 8a4c442 + 5f6b23e commit ffd6a58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/contextual/derivation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ trait Eq[T] {
253253
}
254254

255255
object Eq {
256-
given Eq[Int] as {
256+
given Eq[Int] {
257257
def eqv(x: Int, y: Int) = x == y
258258
}
259259

0 commit comments

Comments
 (0)