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.
1 parent 4e8869c commit a2ad418Copy full SHA for a2ad418
docs/docs/reference/contextual/extension-methods.md
@@ -156,7 +156,7 @@ given listOps: AnyRef {
156
def [T](xs: List[T]) second = xs.tail.head
157
def [T](xs: List[T]) third: T = xs.tail.tail.head
158
}
159
-given AnyRef {
+given given_largest_of_List_T: AnyRef {
160
def [T](xs: List[T]) largest (given Ordering[T])(n: Int) =
161
xs.sort.takeRight(n)
162
0 commit comments