Skip to content

Commit 1fb42b9

Browse files
committed
Show synthesized extension instance name in docs
1 parent 758f2a3 commit 1fb42b9

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
@@ -156,7 +156,7 @@ given listOps: AnyRef {
156156
def [T](xs: List[T]) second = xs.tail.head
157157
def [T](xs: List[T]) third: T = xs.tail.tail.head
158158
}
159-
given AnyRef {
159+
given given_largest_of_List_T: AnyRef {
160160
def [T](xs: List[T]) largest (given Ordering[T])(n: Int) =
161161
xs.sort.takeRight(n)
162162
}

0 commit comments

Comments
 (0)