diff --git a/docs/docs/reference/contextual/derivation.md b/docs/docs/reference/contextual/derivation.md index dc8629e46bbc..23c597657bf0 100644 --- a/docs/docs/reference/contextual/derivation.md +++ b/docs/docs/reference/contextual/derivation.md @@ -253,7 +253,7 @@ trait Eq[T] { } object Eq { - given Eq[Int] as { + given Eq[Int] { def eqv(x: Int, y: Int) = x == y }