Skip to content

Commit e1dbb85

Browse files
Clarify what are "regular methods" in the extension methods section
1 parent 0ddba6c commit e1dbb85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/blog/_posts/2021-02-17-scala3-rc1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Type arguments matching method type parameters are passed as usual:
2828
List("a", "bb", "ccc").sumBy[Int](_.length)
2929
```
3030
By contrast, type arguments matching type parameters following `extension` can be passed
31-
only if the method is referenced as a regular method:
31+
only if the method is referenced as a non-extension method:
3232

3333
```scala
3434
sumBy[String](List("a", "bb", "ccc"))(_.length)

0 commit comments

Comments
 (0)