We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c39328 commit de7262aCopy full SHA for de7262a
libraries/stdlib/src/kotlin/text/Strings.kt
@@ -189,7 +189,7 @@ public fun String?.isNullOrBlank(): Boolean = this == null || this.isBlank()
189
/**
190
* Iterator for characters of given CharSequence.
191
*/
192
-public fun CharSequence.iterator(): CharIterator = object : CharIterator() {
+public operator fun CharSequence.iterator(): CharIterator = object : CharIterator() {
193
private var index = 0
194
195
public override fun nextChar(): Char = get(index++)
0 commit comments