We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2cf4dc4 + 6672e34 commit 609d8d6Copy full SHA for 609d8d6
docs/docs/reference/contextual/extension-methods.md
@@ -78,7 +78,7 @@ Type parameters on extensions can also be combined with type parameters on the m
78
themselves:
79
```scala
80
extension [T](xs: List[T])
81
- def def sumBy[B](f: A => B)(using Numeric[B]): B = ...
+ def sumBy[B](f: A => B)(using Numeric[B]): B = ...
82
```
83
84
Type arguments matching method type parameters are passed as usual:
0 commit comments