docs: fixed link to Grouping.eachCount sample (#2745)
This commit is contained in:
committed by
Nikolay Igotti
parent
86f66c0100
commit
71d8d67807
@@ -57,7 +57,7 @@ public fun <T> MutableList<T>.replaceAll(transformation: (T) -> T) {
|
||||
*
|
||||
* @return a [Map] associating the key of each group with the count of elements in the group.
|
||||
*
|
||||
* @sample samples.collections.Collections.Transformations.groupingByEachCount
|
||||
* @sample samples.collections.Grouping.groupingByEachCount
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
public actual fun <T, K> Grouping<T, K>.eachCount(): Map<K, Int> = eachCountTo(mutableMapOf<K, Int>())
|
||||
|
||||
Reference in New Issue
Block a user