Skip to content

Commit 286a5d6

Browse files
buzdenodersky
andcommitted
Update docs/docs/reference/extension-methods.md
Co-Authored-By: odersky <[email protected]>
1 parent 60aa019 commit 286a5d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/extension-methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ So `circle.circumference` translates to `CircleOps.circumference(circle)`, provi
7676
**Note**: The translation of extension methods is formulated on method calls. It is thus indepenent from the way infix operations are translated to method calls. For instamce,
7777
if `+:` was formulated as an extension method, it would still have the `this` parameter come first, even though, seen as an operator, `+:` is right-binding:
7878
```scala
79-
def +: [T](this xs: Seq[T))(x: T): Seq[T]
79+
def +: [T](this xs: Seq[T])(x: T): Seq[T]
8080
```
8181

8282
### Generic Extensions

0 commit comments

Comments
 (0)