Skip to content

Commit 6672e34

Browse files
committed
Fix double def
1 parent 2cf4dc4 commit 6672e34

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)