Skip to content

Commit

Permalink
Update use of deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
ajalt committed Jun 2, 2021
1 parent b9bc96d commit 20a8f3c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ internal actual fun codepointSequence(string: String): Sequence<Int> = sequence
yield(Char.toCodePoint(string[i], string[i + 1]))
i += 1
} else {
yield(string[i].toInt())
yield(string[i].code)
}
i += 1
}
Expand Down

0 comments on commit 20a8f3c

Please sign in to comment.