Skip to content

Commit 786e5c0

Browse files
update comment
1 parent 965d9e2 commit 786e5c0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ktorm-core/src/main/kotlin/me/liuwj/ktorm/dsl/Query.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ public inline fun <R, C : MutableCollection<in R>> Query.flatMapTo(
552552

553553
/**
554554
* Return a single list of all elements yielded from results of [transform] function being invoked on each row
555-
* and its index of the query.
555+
* and its index in the query.
556556
*
557557
* @since 3.1.0
558558
*/
@@ -562,7 +562,7 @@ public inline fun <R> Query.flatMapIndexed(transform: (index: Int, row: QueryRow
562562

563563
/**
564564
* Append all elements yielded from results of [transform] function being invoked on each row and its index
565-
* of the query, to the given [destination].
565+
* in the query, to the given [destination].
566566
*
567567
* @since 3.1.0
568568
*/

ktorm-core/src/main/kotlin/me/liuwj/ktorm/entity/EntitySequence.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ public inline fun <E : Any, R, C : MutableCollection<in R>> EntitySequence<E, *>
462462

463463
/**
464464
* Return a single list of all elements yielded from results of [transform] function being invoked
465-
* on each element and its index of original sequence.
465+
* on each element and its index in the original sequence.
466466
*
467467
* The operation is terminal.
468468
*
@@ -474,7 +474,7 @@ public inline fun <E : Any, R> EntitySequence<E, *>.flatMapIndexed(transform: (i
474474

475475
/**
476476
* Append all elements yielded from results of [transform] function being invoked on each element
477-
* and its index of original sequence, to the given [destination].
477+
* and its index in the original sequence, to the given [destination].
478478
*
479479
* The operation is terminal.
480480
*

0 commit comments

Comments
 (0)