diff --git a/docs/docs/reference/contextual/extension-methods.md b/docs/docs/reference/contextual/extension-methods.md index 79e48e1a9282..956a1d620914 100644 --- a/docs/docs/reference/contextual/extension-methods.md +++ b/docs/docs/reference/contextual/extension-methods.md @@ -90,7 +90,7 @@ Examples: def (x: String) < (y: String) = ... def (x: Elem) +: (xs: Seq[Elem]) = ... -"ab" + "c" +"ab" < "c" 1 +: List(2, 3) ``` The two definitions above translate to