diff --git a/ReadMe.md b/ReadMe.md index 09543fdd0ef..44c56808ae9 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -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 diff --git a/js/js.libraries/src/core/generated/_SequencesJs.kt b/js/js.libraries/src/core/generated/_SequencesJs.kt index 178a1c873e5..2cadfb38dfd 100644 --- a/js/js.libraries/src/core/generated/_SequencesJs.kt +++ b/js/js.libraries/src/core/generated/_SequencesJs.kt @@ -1228,7 +1228,7 @@ public inline fun Sequence.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_. */ diff --git a/libraries/stdlib/common/src/generated/_Sequences.kt b/libraries/stdlib/common/src/generated/_Sequences.kt index 2fc03716325..63b2e11cf29 100644 --- a/libraries/stdlib/common/src/generated/_Sequences.kt +++ b/libraries/stdlib/common/src/generated/_Sequences.kt @@ -759,7 +759,7 @@ public expect fun Sequence.none(): Boolean public expect inline fun Sequence.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_. */ diff --git a/libraries/stdlib/src/generated/_Sequences.kt b/libraries/stdlib/src/generated/_Sequences.kt index 5a07d710035..3fc92014172 100644 --- a/libraries/stdlib/src/generated/_Sequences.kt +++ b/libraries/stdlib/src/generated/_Sequences.kt @@ -1269,7 +1269,7 @@ public inline fun Sequence.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_. */ diff --git a/libraries/tools/kotlin-stdlib-gen/src/templates/Aggregates.kt b/libraries/tools/kotlin-stdlib-gen/src/templates/Aggregates.kt index 5d0676828e4..4c792a67255 100644 --- a/libraries/tools/kotlin-stdlib-gen/src/templates/Aggregates.kt +++ b/libraries/tools/kotlin-stdlib-gen/src/templates/Aggregates.kt @@ -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 { """