Skip to content

Commit 609d8d6

Browse files
authored
Merge pull request #11046 from rjolly/master
Fix double def
2 parents 2cf4dc4 + 6672e34 commit 609d8d6

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
@@ -78,7 +78,7 @@ Type parameters on extensions can also be combined with type parameters on the m
7878
themselves:
7979
```scala
8080
extension [T](xs: List[T])
81-
def def sumBy[B](f: A => B)(using Numeric[B]): B = ...
81+
def sumBy[B](f: A => B)(using Numeric[B]): B = ...
8282
```
8383

8484
Type arguments matching method type parameters are passed as usual:

0 commit comments

Comments
 (0)