docs: fixed link to Grouping.eachCount sample (#2745)

This commit is contained in:
Pavel Semyonov
2019-03-05 14:35:02 +07:00
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>())