Fix a couple of typos in docs and ReadMe

* Fix a couple of typos
- In the main ReadMe.md
- In onEach template's doc

* Update generated source code
This commit is contained in:
Yanis Batura
2018-02-12 18:22:47 +07:00
committed by ilya-g
parent 470a4bb615
commit 9c8c1cdc18
5 changed files with 5 additions and 5 deletions
@@ -759,7 +759,7 @@ public expect fun <T> Sequence<T>.none(): Boolean
public expect inline fun <T> Sequence<T>.none(predicate: (T) -> Boolean): Boolean
/**
* Returns a sequence which performs the given [action] on each element of the original sequence as they pass though it.
* Returns a sequence which performs the given [action] on each element of the original sequence as they pass through it.
*
* The operation is _intermediate_ and _stateless_.
*/
+1 -1
View File
@@ -1269,7 +1269,7 @@ public inline fun <T> Sequence<T>.none(predicate: (T) -> Boolean): Boolean {
}
/**
* Returns a sequence which performs the given [action] on each element of the original sequence as they pass though it.
* Returns a sequence which performs the given [action] on each element of the original sequence as they pass through it.
*
* The operation is _intermediate_ and _stateless_.
*/
@@ -843,7 +843,7 @@ object Aggregates : TemplateGroupBase() {
specialFor(Sequences) {
returns("SELF")
doc { "Returns a sequence which performs the given [action] on each ${f.element} of the original sequence as they pass though it." }
doc { "Returns a sequence which performs the given [action] on each ${f.element} of the original sequence as they pass through it." }
sequenceClassification(intermediate, stateless)
body {
"""