Minor: cleanup asSequence() documentation.

This commit is contained in:
Ilya Gorbunov
2015-11-29 05:25:09 +03:00
parent f596d9ac23
commit 6ca647aecd
6 changed files with 24 additions and 31 deletions
@@ -1769,7 +1769,7 @@ public fun <T> Iterable<T>.asIterable(): Iterable<T> {
}
/**
* Returns a sequence from the given collection.
* Creates a [Sequence] instance that wraps the original collection returning its elements when being iterated.
*/
public fun <T> Iterable<T>.asSequence(): Sequence<T> {
return object : Sequence<T> {