Skip to content

Commit 86c919a

Browse files
Merge pull request #7578 from rpiotrow/patch-1
Update extension-methods.md
2 parents 5e47774 + ba60374 commit 86c919a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/contextual/extension-methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Examples:
9090
def (x: String) < (y: String) = ...
9191
def (x: Elem) +: (xs: Seq[Elem]) = ...
9292

93-
"ab" + "c"
93+
"ab" < "c"
9494
1 +: List(2, 3)
9595
```
9696
The two definitions above translate to

0 commit comments

Comments
 (0)