Skip to content

Commit c71c50b

Browse files
committed
fix partition documentation in MutableEntityBag
1 parent 69c7d5c commit c71c50b

File tree

1 file changed

+4
-4
lines changed
  • src/commonMain/kotlin/com/github/quillraven/fleks/collection

1 file changed

+4
-4
lines changed

src/commonMain/kotlin/com/github/quillraven/fleks/collection/entityBag.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,9 +1060,9 @@ class MutableEntityBag(
10601060
}
10611061

10621062
/**
1063-
* Splits the original bag into a pair of lists,
1064-
* where first list contains elements for which predicate yielded true,
1065-
* while second list contains elements for which predicate yielded false.
1063+
* Splits the original bag into a pair of bags,
1064+
* where the first bag contains elements for which predicate yielded true,
1065+
* while the second bag contains elements for which predicate yielded false.
10661066
*/
10671067
override inline fun partition(predicate: (Entity) -> Boolean): Pair<EntityBag, EntityBag> {
10681068
val first = MutableEntityBag()
@@ -1079,7 +1079,7 @@ class MutableEntityBag(
10791079
}
10801080

10811081
/**
1082-
* Splits the original bag into two lists,
1082+
* Splits the original bag into two bags,
10831083
* where [first] contains elements for which predicate yielded true,
10841084
* while [second] contains elements for which predicate yielded false.
10851085
*/

0 commit comments

Comments
 (0)