Promote Common String.toCharArray(destination) to stable #KT-65532

This commit is contained in:
Abduqodiri Qurbonzoda
2024-02-15 19:27:07 +02:00
committed by Space Team
parent 2bd48b7e49
commit 31aa71dd6a
5 changed files with 5 additions and 10 deletions
+1 -2
View File
@@ -290,8 +290,7 @@ public expect fun String.toCharArray(startIndex: Int = 0, endIndex: Int = this.l
* @throws IndexOutOfBoundsException when the subrange doesn't fit into the [destination] array starting at the specified [destinationOffset],
* or when that index is out of the [destination] array indices range.
*/
@ExperimentalStdlibApi
@SinceKotlin("1.9")
@SinceKotlin("2.0")
public expect fun String.toCharArray(
destination: CharArray,
destinationOffset: Int = 0,