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:
@@ -122,7 +122,7 @@ macro to include code from a test function. The benefits of this approach are tw
|
||||
|
||||
Also the [JavaScript translation](https://github.com/JetBrains/kotlin/blob/master/js/ReadMe.md) could really use your help. See the [JavaScript contribution section](https://github.com/JetBrains/kotlin/blob/master/js/ReadMe.md) for more details.
|
||||
|
||||
Some of the code in the standard library is created by generating code from templates. See the [README](libraries/stdlib/ReadMe.md) in the stdlib section for how run the code generator. The existing templates can be used as examples for creating new ones.
|
||||
Some of the code in the standard library is created by generating code from templates. See the [README](libraries/stdlib/ReadMe.md) in the stdlib section for how to run the code generator. The existing templates can be used as examples for creating new ones.
|
||||
|
||||
## Submitting patches
|
||||
|
||||
|
||||
@@ -1228,7 +1228,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_.
|
||||
*/
|
||||
|
||||
@@ -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_.
|
||||
*/
|
||||
|
||||
@@ -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 {
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user